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