diff options
| author | Namhyung Kim <[email protected]> | 2023-03-31 20:29:46 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-04 16:23:58 +0000 |
| commit | b39094d37d0c1f6399a1a1a24453ff48b4a0c7a6 (patch) | |
| tree | 1249dc670602afdf10667eefa3327569aae45087 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf pmu: Use relative path for sysfs scan (diff) | |
| download | kernel-b39094d37d0c1f6399a1a1a24453ff48b4a0c7a6.tar.gz kernel-b39094d37d0c1f6399a1a1a24453ff48b4a0c7a6.zip | |
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/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
