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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -