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>
This commit is contained in:
Michael Petlan 2020-04-27 16:23:27 +02:00 коммит произвёл Arnaldo Carvalho de Melo
Родитель 3e11300cdf
Коммит 51ae7fa62d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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