![]() |
|
|||
0001 #!/bin/bash 0002 0003 # 0004 # Profiling physical memory by all retired load instructions/uops event 0005 # MEM_INST_RETIRED.ALL_LOADS or MEM_UOPS_RETIRED.ALL_LOADS 0006 # 0007 0008 load=`perf list | grep mem_inst_retired.all_loads` 0009 if [ -z "$load" ]; then 0010 load=`perf list | grep mem_uops_retired.all_loads` 0011 fi 0012 if [ -z "$load" ]; then 0013 echo "There is no event to count all retired load instructions/uops." 0014 exit 1 0015 fi 0016 0017 arg=$(echo $load | tr -d ' ') 0018 arg="$arg:P" 0019 perf record --phys-data -e $arg $@
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |