perf intel-pt: Fix overlap calculation for padding
commit6228a6e3516f9fcada4c2eeb45d56eb1638eee3c
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 6 Feb 2019 10:39:44 +0000 (6 12:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 19:11:37 +0000 (23 20:11 +0100)
tree1fad2808f4212623ea77a185ce2f32430e5b2909
parent2354deae355bd77162676e9e7a23c3c0e9720b4c
perf intel-pt: Fix overlap calculation for padding

commit 5a99d99e3310a565b0cf63f785b347be9ee0da45 upstream.

Auxtrace records might have up to 7 bytes of padding appended. Adjust
the overlap accordingly.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/20190206103947.15750-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c