summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2025-02-05 12:54:40 -0800
committerNamhyung Kim <namhyung@kernel.org>2025-02-12 19:44:10 -0800
commitc7f821b8768df6f889dd8993db94925c6636a691 (patch)
tree5e29a6e93bb1aeb401dc54017728d63161c5c709 /tools/perf/scripts/python
parent615ec00b06f78912c370b372426190768402a5b9 (diff)
perf trace: Allocate syscall stats only if summary is on
The syscall stats are used only when summary is requested. Let's avoid unnecessary operations. While at it, let's pass 'trace' pointer directly instead of passing 'output' file pointer and 'summary' option in the 'trace' separately. Reviewed-by: Howard Chu <howardchu95@gmail.com> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Link: https://lore.kernel.org/r/20250205205443.1986408-2-namhyung@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions