summaryrefslogtreecommitdiff
path: root/tools/perf/util/bpf-filter.l
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-01-03 09:01:59 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-01-03 17:55:01 -0300
commitec5257d99e6894d65fae772ca43c53b3d6855115 (patch)
tree56e839f440b5bb402358a44c43cc7dd9e12e72ce /tools/perf/util/bpf-filter.l
parenteb00697b91646de22d6d9b4e6a5fadf4495fdf69 (diff)
perf x86 test: Add hybrid test for conflicting legacy/sysfs event
The cpu-cycles event is both a legacy event and declared in /sys/devices/cpu_core/events/cpu-cycles. The cycles event is a legacy event but with no sysfs version. Add a test that the sysfs version is preferred to the legacy for cpu-cycles, while for cycles we use the legacy version. Suggested-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20240103170159.1435753-2-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/bpf-filter.l')
0 files changed, 0 insertions, 0 deletions