linux/tools/testing/selftests/perf_events/config

CONFIG_PERF_EVENTS=y