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 <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Paolo Bonzini <[email protected]> LPU-Reference: [email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 3e11300 commit 51ae7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
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)