![]() |
|
|||
0001 #!/bin/bash 0002 0003 # 0004 # print Intel PT Events including Power Events and PTWRITE. The intel_pt PMU 0005 # event needs to be specified with appropriate config terms. 0006 # 0007 if ! echo "$@" | grep -q intel_pt ; then 0008 echo "Options must include the Intel PT event e.g. -e intel_pt/pwr_evt,ptw/" 0009 echo "and for power events it probably needs to be system wide i.e. -a option" 0010 echo "For example: -a -e intel_pt/pwr_evt,branch=0/ sleep 1" 0011 exit 1 0012 fi 0013 perf record $@
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |