History

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

Michael Petlan committed 6 years ago

Commit 51ae7fa1 parent 3e113001 file · +1 −1Browse files

Showing the changes to tools/perf/scripts/python/bin/stackcollapse-report (1 of 1 file). Show all

Unified · Split

tools/perf/scripts/python/bin/stackcollapse-report+1−1
@@ -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 "$@"