linux/tools/perf/scripts/python/bin/event_analyzing_sample-record

#!/bin/bash

#
# event_analyzing_sample.py can cover all type of perf samples including
# the tracepoints, so no special record requirements, just record what
# you want to analyze.
#
perf record $@