diff options
| author | Ian Rogers <[email protected]> | 2023-11-29 21:34:25 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-12-05 18:46:43 +0000 |
| commit | b809fc656e763296f227b9b31e8f225e5977a8af (patch) | |
| tree | 925085cd85057b0c864aaad483f9bdebe2e59c7d /tools/perf/tests/shell/lib/setup_python.sh | |
| parent | perf vendor events arm64 AmpereOneX: Add core PMU events and metrics (diff) | |
| download | kernel-b809fc656e763296f227b9b31e8f225e5977a8af.tar.gz kernel-b809fc656e763296f227b9b31e8f225e5977a8af.zip | |
perf build: Shellcheck support for OUTPUT directory
Migrate Makefile.tests to Build so that variables like rule_mkdir are
defined via Makefile.build (needed so the output directory can be
created). This requires SHELLCHECK being exported and the clean rule
tweaking to remove the files in find.
Change find "-perm -o=x" as it was failing on my Debian based Linux
kernel tree, switch to using "-executable".
Adding a filename prefix of "." to the shellcheck log files is a pain
and error prone in make, remove this prefix and just add the
shellcheck log files to .gitignore.
Fix the command echo so that running the test is displayed.
Fixes: 1638b11ef8156c85 ("perf tools: Add perf binary dependent rule for shellcheck log in Makefile.perf")
Reviewed-by: Athira Jajeev <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/shell/lib/setup_python.sh')
0 files changed, 0 insertions, 0 deletions
