aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-03-31 20:29:44 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-04-04 16:23:58 +0000
commitf6a7bbbfe61cc34c4e443141d3eb110a80473d8c (patch)
treef11417754cd2dff04155dd790c8262d6cb072ac9 /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf pmu: Add perf_pmu__destroy() function (diff)
downloadkernel-f6a7bbbfe61cc34c4e443141d3eb110a80473d8c.tar.gz
kernel-f6a7bbbfe61cc34c4e443141d3eb110a80473d8c.zip
perf bench: Add pmu-scan benchmark
The pmu-scan benchmark will repeatedly scan the sysfs to get the available PMU information. $ ./perf bench internals pmu-scan # Running 'internals/pmu-scan' benchmark: Computing performance of sysfs PMU event scan for 100 times Average PMU scanning took: 6850.990 usec (+- 48.445 usec) Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Leo Yan <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[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