summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-10-05 11:24:08 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-10-15 23:59:10 +0900
commit4bb55de4ff03db3e8b204c9c804cef3cad29a271 (patch)
tree155bb266c8e7a7d7b6109372458950d4dbafc57a /tools/perf/scripts/python/bin/stackcollapse-report
parentee27476fa3004f83e82fc88d859586c99c8a81a3 (diff)
downloadlinux-4bb55de4ff03db3e8b204c9c804cef3cad29a271.tar.gz
linux-4bb55de4ff03db3e8b204c9c804cef3cad29a271.zip
perf jevents: Support copying the source json files to OUTPUT
The jevents command expects all json files to be organized under a single directory. When generating json files from scripts (to reduce laborious copy and paste in the json) we don't want to generate the json into the source directory if there is an OUTPUT directory specified. This change adds a GEN_JSON for this case where the GEN_JSON copies the JSON files to OUTPUT, only when OUTPUT is specified. The Makefile.perf clean code is updated to clean up this directory when present. This patch is part of: https://lore.kernel.org/lkml/20240926173554.404411-12-irogers@google.com/ which was similarly adding support for generating json in scripts for the consumption of jevents.py. Tested-by: Thomas Richter <tmricht@linux.ibm.com> Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: James Clark <james.clark@linaro.org> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions