[PATCH v1 0/3] perf script engine testing
From: Ian Rogers
Date: Mon Feb 09 2026 - 15:24:36 EST
Add tests for generating a script and that the basic APIs work. I'd
grown concerned that refactoring patches may inadvertently break perf
script engine support, particularly for perl, and this does something
to prevent this.
Ian Rogers (3):
perf script: Allow the generated script to be a path
perf test script: Add perl script testing support
perf test script: Add python script testing support
tools/perf/Documentation/perf-script.txt | 6 +-
tools/perf/builtin-script.c | 24 ++++-
tools/perf/tests/shell/script_perl.sh | 102 ++++++++++++++++++++
tools/perf/tests/shell/script_python.sh | 113 +++++++++++++++++++++++
4 files changed, 239 insertions(+), 6 deletions(-)
create mode 100755 tools/perf/tests/shell/script_perl.sh
create mode 100755 tools/perf/tests/shell/script_python.sh
--
2.53.0.rc2.204.g2597b5adb4-goog