The '--' prevented arguments from being passed to the script, such as: $ perf script report stackcollapse -i my_perf.data
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | # description: produce callgraphs in short form for scripting use | 2 | # 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 "$@" |