| 1 |
#!/bin/bash |
| 2 |
# description: create firefox gecko profile json format from perf.data |
| 3 |
if [ "$*" = "-i -" ]; then |
| 4 |
perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py |
| 5 |
else |
| 6 |
perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@" |
| 7 |
fi |