Debian Codegraph @

tools/perf/scripts/python/bin/intel-pt-events-record

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 #
4 # print Intel PT Events including Power Events and PTWRITE. The intel_pt PMU
5 # event needs to be specified with appropriate config terms.
6 #
7 if ! echoscip-shell system . . echo. "$@" | grepscip-shell system . . grep. -q intel_pt ; then
8 echoscip-shell system . . echo. "Options must include the Intel PT event e.g. -e intel_pt/pwr_evt,ptw/"
9 echoscip-shell system . . echo. "and for power events it probably needs to be system wide i.e. -a option"
10 echoscip-shell system . . echo. "For example: -a -e intel_pt/pwr_evt,branch=0/ sleep 1"
11 exit 1
12 fi
13 perf record $@