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 (1 of 1 file). Show all

Unified · Split

tools/perf/scripts/python/bin/stackcollapse-report+1−1
@@ -1,3 +1,3 @@
1#!/bin/sh1#!/bin/sh
2# description: produce callgraphs in short form for scripting use2# description: produce callgraphs in short form for scripting use
3perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py -- "$@"3perf script -s "$PERF_EXEC_PATH"/scripts/python/stackcollapse.py "$@"