xref: /linux/tools/perf/scripts/python/bin/gecko-report (revision bf6239ddaa6a73a44cd8ea3afec5fc82ed900038)
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