#!/usr/bin/awk -f # Filter perf script output by event type # Sample usage: awk -f ./filter-perf-events.awk -v event=stalled-cycles-frontend