performance - Decode perf's PT trace -
i have sample binary file test1, , use pt supported in perf record execution:
perf record -e intel_pt//u test1
now need decode generated perf.data file using command below:
perf script --itrace=i0us
this instructions executed. it's kind of long. can filter instructions, that's not enough me. is possible output first instruction of each branch? since can rest instructions inside block binary file. know pt records sequence of taken branches. tried "--itrace=b" option, seems output "call" , "return" events. guess need modify part of decoding. still don't know start after spending 2 days on reading perf's source code.
any appreciated!
Comments
Post a Comment