summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2025-02-20 13:58:00 -0500
committerShuah Khan <skhan@linuxfoundation.org>2025-02-20 13:15:01 -0700
commit4a3134b1146e971b2ec21271d17a823753eb14e2 (patch)
tree316f6bc4b78ffb86f04b26314753e26ca9ce890a /tools/perf/scripts/python/syscall-counts.py
parenta64dcfb451e254085a7daee5fe51bf22959d52d3 (diff)
selftests/tracing: Test only toplevel README file not the instances
For the tests that have both a README attribute as well as the instance flag to run the tests as an instance, the instance version will always exit with UNSUPPORTED. That's because the instance directory does not contain a README file. Currently, the tests check for a README file in the directory that the test runs in and if there's a requirement for something to be present in the README file, it will not find it, as the instance directory doesn't have it. Have the tests check if the current directory is an instance directory, and if it is, check two directories above the current directory for the README file: /sys/kernel/tracing/README /sys/kernel/tracing/instances/foo/../../README Link: https://lore.kernel.org/r/20250220185846.130216270@goodmis.org Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions