perf pmu: Use relative path in setup_pmu_alias_list()
authorNamhyung Kim <namhyung@kernel.org>
Fri, 31 Mar 2023 20:29:47 +0000 (13:29 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Apr 2023 16:23:59 +0000 (13:23 -0300)
commit463786658d234df43ad1d9dfcf8aba25176d071c
tree0fc14df2c4211aa9364f8f40758bdb0bc333ae33
parentb39094d37d0c1f6399a1a1a24453ff48b4a0c7a6
perf pmu: Use relative path in setup_pmu_alias_list()

Likewise, x86 needs to traverse the PMU list to build alias.
Let's use the new helpers to use relative paths.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230331202949.810326-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/util/pmu.c