Skip to content

Commit 51ae7fa

Browse files
rfmvhacmel
authored andcommitted
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>
1 parent 3e11300 commit 51ae7fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22
# description: produce callgraphs in short form for scripting use
3-
perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py -- "$@"
3+
perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py "$@"

0 commit comments

Comments
 (0)