Re: [PATCH v1 0/3] perf script engine testing

From: Arnaldo Carvalho de Melo

Date: Wed Feb 11 2026 - 11:44:46 EST


On Mon, Feb 09, 2026 at 12:22:05PM -0800, Ian Rogers wrote:
> 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.

Thanks, tested and applied to perf-tools-next,

- Arnaldo

> 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
>