summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Petlan <mpetlan@redhat.com>2020-04-27 16:23:27 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-09-10 11:45:19 -0300
commit51ae7fa62dcb0ab96ea5f83aec254a1fb6d4d371 (patch)
tree6ff87af3efb5a414eeec6a66ba5dc4d72b2ecf38 /tools
parent3e11300cdfd5f1bc13a05dfc6dccf69aca5dd1dc (diff)
downloadlinux-rpi-51ae7fa62dcb0ab96ea5f83aec254a1fb6d4d371.tar.gz
linux-rpi-51ae7fa62dcb0ab96ea5f83aec254a1fb6d4d371.tar.bz2
linux-rpi-51ae7fa62dcb0ab96ea5f83aec254a1fb6d4d371.zip
perf scripts python: Fix passing arguments to stackcollapse report
The '--' prevented arguments from being passed to the script, such as: $ perf script report stackcollapse -i my_perf.data Signed-off-by: Michael Petlan <mpetlan@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> LPU-Reference: 20200427142327.21172-1-mpetlan@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/perf/scripts/python/bin/stackcollapse-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/bin/stackcollapse-report b/tools/perf/scripts/python/bin/stackcollapse-report
index 356b9656393d..21a356bd27f6 100755
--- a/tools/perf/scripts/python/bin/stackcollapse-report
+++ b/tools/perf/scripts/python/bin/stackcollapse-report
@@ -1,3 +1,3 @@
#!/bin/sh
# description: produce callgraphs in short form for scripting use
-perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py -- "$@"
+perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py "$@"