]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf test: Add test that command line period overrides sysfs/json values
authorIan Rogers <irogers@google.com>
Sun, 9 Nov 2025 00:59:59 +0000 (16:59 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 10 Nov 2025 07:07:57 +0000 (23:07 -0800)
commit081006b7c8e19406dc6674c6b6d086764d415b5c
tree086209d462869db1faf093315711f6d9380814cf
parent0e9b51a43214f81f07813b63349b03ded35139c7
perf test: Add test that command line period overrides sysfs/json values

The behavior of weak terms is subtle, add a test that they aren't
accidentally broken. The test finds an event with a weak 'period' and
then overrides it. In no such event is present then the test skips.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/shell/record_weak_term.sh [new file with mode: 0755]