mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 14:12:51 +00:00
faaa87680b
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 <adrian.hunter@intel.com> Link: http://lkml.kernel.org/r/1475847747-30994-3-git-send-email-adrian.hunter@intel.com Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
---|---|---|
.. | ||
Build | ||
gen-insn-attr-x86.awk | ||
inat_types.h | ||
inat.c | ||
inat.h | ||
insn.c | ||
insn.h | ||
intel-pt-decoder.c | ||
intel-pt-decoder.h | ||
intel-pt-insn-decoder.c | ||
intel-pt-insn-decoder.h | ||
intel-pt-log.c | ||
intel-pt-log.h | ||
intel-pt-pkt-decoder.c | ||
intel-pt-pkt-decoder.h | ||
x86-opcode-map.txt |