aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/find_bit.c
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2016-10-07 13:42:26 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-10-24 13:31:32 +0000
commitfaaa87680b25d9ec91a308d4c957f5b9305c7b59 (patch)
treee95dcf6e9a7de1be184512674152bbc4263adb90 /tools/lib/find_bit.c
parentperf intel-pt/bts: Tidy instruction buffer size usage (diff)
downloadkernel-faaa87680b25d9ec91a308d4c957f5b9305c7b59.tar.gz
kernel-faaa87680b25d9ec91a308d4c957f5b9305c7b59.zip
perf intel-pt/bts: Report instruction bytes and length in sample
Change Intel PT and BTS to pass up the length and the instruction bytes of the decoded or sampled instruction in the perf sample. The decoder already knows this information, we just need to pass it up. Since it is only a couple of movs it is not very expensive. Handle instruction cache too. Make sure ilen is always initialized. Used in the next patch. [Adrian: re-base on top (and adjust for) instruction buffer size tidy-up] [Adrian: add BTS support and adjust commit message accordingly] Signed-off-by: Adrian Hunter <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions