perf intel-pt: Fix overlap calculation for padding
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 6 Feb 2019 10:39:44 +0000 (12:39 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:27:00 +0000 (10:27 -0300)
commit5a99d99e3310a565b0cf63f785b347be9ee0da45
treeb0d397535688ca0b17a3a7ac6d58f2b68ce28b16
parentc3fcadf0bb765faf45d6d562246e1d08885466df
perf intel-pt: Fix overlap calculation for padding

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>
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c