summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/tests-scripts.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-10-15 02:01:56 +0200
committerNamhyung Kim <namhyung@kernel.org>2024-10-17 22:17:36 +0200
commit8519e4f44c2af72214dc029f0334be068466e71f (patch)
treeeb3a73fe1a23e3517ad2deb923336c51792c5524 /tools/perf/tests/tests-scripts.c
parentperf probe: Correct demangled symbols in C++ program (diff)
downloadlinux-8519e4f44c2af72214dc029f0334be068466e71f.tar.xz
linux-8519e4f44c2af72214dc029f0334be068466e71f.zip
perf test: Add a shell wrapper for "Setup struct perf_event_attr"
The "Setup struct perf_event_attr" test in attr.c does a bunch of directory finding to set up running a python test that in general is more brittle than similar logic we have in shell tests. Add a shell test that invokes and runs the tests in the python attr.py script. Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: zhaimingbing <zhaimingbing@cmss.chinamobile.com> Cc: Howard Chu <howardchu95@gmail.com> Cc: Ze Gao <zegao2021@gmail.com> Cc: Weilin Wang <weilin.wang@intel.com> Cc: James Clark <james.clark@linaro.org> Cc: Leo Yan <leo.yan@linux.dev> Cc: Thomas Richter <tmricht@linux.ibm.com> Cc: Veronika Molnarova <vmolnaro@redhat.com> Link: https://lore.kernel.org/r/20241015000158.871828-2-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/tests/tests-scripts.c')
0 files changed, 0 insertions, 0 deletions