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