aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bpf-script-example.c
diff options
context:
space:
mode:
authorGerman Gomez <[email protected]>2023-01-20 14:36:57 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-01-22 21:17:35 +0000
commitc2b6a8969c82990626cfb9a1af0532b06cdb5716 (patch)
treed5b1af762b2c3e01e2a45342efb0dfe5bc2f53d7 /tools/perf/tests/bpf-script-example.c
parentperf pmu: Remove remaining duplication of bus/event_source/devices/... (diff)
downloadkernel-c2b6a8969c82990626cfb9a1af0532b06cdb5716.tar.gz
kernel-c2b6a8969c82990626cfb9a1af0532b06cdb5716.zip
perf pmu: Add function to check if a pmu file exists
Add a utility function perf_pmu__file_exists() to check if a given pmu file exists in the sysfs filesystem. Signed-off-by: German Gomez <[email protected]> Acked-by: Suzuki Poulouse <[email protected]> Tested-by: Tanmay Jagdale <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Bharat Bhushan <[email protected]> Cc: George Cherian <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Leo Yan <[email protected]> Cc: Linu Cherian <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Mike Leach <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sunil Kovvuri Goutham <[email protected]> Cc: Will Deacon <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: James Clark <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions