#!/bin/bash# description: create firefox gecko profile json format from perf.dataif [ "$*" = "-i -" ]; thenperf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.pyelseperf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@"fi
#!/bin/bash
# description: create firefox gecko profile json format from perf.data
if [ "$*" = "-i -" ]; then
perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py
else
perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@"
fi