aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-03-31 13:29:46 -0700
committerArnaldo Carvalho de Melo <[email protected]>2023-04-04 13:23:58 -0300
commitb39094d37d0c1f6399a1a1a24453ff48b4a0c7a6 (patch)
tree1249dc670602afdf10667eefa3327569aae45087 /tools/perf/scripts/python/exported-sql-viewer.py
parente293a5e816c03b57f07078db60497933f3400b2a (diff)
perf pmu: Use relative path in perf_pmu__caps_parse()
Likewise, it needs to traverse the pmu/caps directory, let's use openat() with the dirfd instead of open() using the absolute path. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: Peter Zijlstra <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Leo Yan <[email protected]> Cc: Kan Liang <[email protected]> Cc: LKML <[email protected]> Cc: [email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions