diff options
author | Ian Rogers <irogers@google.com> | 2023-08-24 06:13:15 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-08-24 15:43:19 +0200 |
commit | 4000519eb0c665947c9cb581b7fb8fdd89e92f4c (patch) | |
tree | 2d207f1763de853174b6e5e6175eef093048b943 /tools/perf/util/pmu.c | |
parent | perf pmu: Abstract alias/event struct (diff) | |
download | linux-4000519eb0c665947c9cb581b7fb8fdd89e92f4c.tar.xz linux-4000519eb0c665947c9cb581b7fb8fdd89e92f4c.zip |
perf pmu-events: Add extra underscore to function names
Add extra underscore before "for" of pmu_events_table_for_each_event
and pmu_metrics_table_for_each_metric.
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Gaosheng Cui <cuigaosheng1@huawei.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jing Zhang <renyu.zj@linux.alibaba.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230824041330.266337-4-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/pmu.c')
-rw-r--r-- | tools/perf/util/pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c index 268aaebfa70c..d91367155e29 100644 --- a/tools/perf/util/pmu.c +++ b/tools/perf/util/pmu.c @@ -896,7 +896,7 @@ void pmu_add_cpu_aliases_table(struct perf_pmu *pmu, const struct pmu_events_tab .pmu = pmu, }; - pmu_events_table_for_each_event(table, pmu_add_cpu_aliases_map_callback, &data); + pmu_events_table__for_each_event(table, pmu_add_cpu_aliases_map_callback, &data); free(data.default_pmu_name); } |