I try to modify perf record
to handle assembly code of target process/program. Therefore, I want to know where data structure does perf use to store assembly code and count position of target process/program?
Generally, perf record
will write a 'perf.data' when finished and we can use perf record
, press 'Enter' and choose 'annotate' to see assembly code of target process/program. By this way, we can get which code line is the reason for counting.