Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools: Add a place to put kernel config fragments for test runs

Defconfig doesn't give full coverage for a perf test run, so these can
be merged with defconfig to do so. It's not complete yet, but is a
starting point as a place to add to when a specific test needs something
extra to run.

Signed-off-by: James Clark <james.clark@arm.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Aishwarya.TCV@arm.com
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230628105303.4053478-2-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

James Clark and committed by
Arnaldo Carvalho de Melo
404e077a f9f72b2a

+19
+7
tools/perf/tests/config-fragments/README
··· 1 + This folder is for kernel config fragments that can be merged with 2 + defconfig to give full test coverage of a perf test run. This is only 3 + an optimistic set as some features require hardware support in order to 4 + pass and not skip. 5 + 6 + 'config' is shared across all platforms, and for arch specific files, 7 + the file name should match that used in the ARCH=... make option.
+1
tools/perf/tests/config-fragments/arm64
··· 1 + CONFIG_CORESIGHT_SOURCE_ETM4X=y
+11
tools/perf/tests/config-fragments/config
··· 1 + CONFIG_TRACEPOINTS=y 2 + CONFIG_STACKTRACE=y 3 + CONFIG_NOP_TRACER=y 4 + CONFIG_RING_BUFFER=y 5 + CONFIG_EVENT_TRACING=y 6 + CONFIG_CONTEXT_SWITCH_TRACER=y 7 + CONFIG_TRACING=y 8 + CONFIG_GENERIC_TRACER=y 9 + CONFIG_FTRACE=y 10 + CONFIG_FTRACE_SYSCALLS=y 11 + CONFIG_BRANCH_PROFILE_NONE=y