summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2016-07-20 09:00:06 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-08-12 17:39:48 (GMT)
commite1717e0485af4f47fc4da1e979ac817f9ad61b0f (patch)
treedc4efbd88c04f49bff42d9aef9cccceb962268ad /README
parent95f3be798472f63b495ca4712af005ea5ac7aa47 (diff)
downloadlinux-e1717e0485af4f47fc4da1e979ac817f9ad61b0f.tar.xz
perf intel-pt: Fix ip compression
The June 2015 Intel SDM introduced IP Compression types 4 and 6. Refer to section 36.4.2.2 Target IP (TIP) Packet - IP Compression. Existing Intel PT packet decoder did not support type 4, and got type 6 wrong. Because type 3 and type 4 have the same number of bytes, the packet 'count' has been changed from being the number of ip bytes to being the type code. That allows the Intel PT decoder to correctly decide whether to sign-extend or use the last ip. However that also meant the code had to be adjusted in a number of places. Currently hardware is not using the new compression types, so this fix has no effect on existing hardware. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1469005206-3049-1-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions