perf intel-pt: Packet splitting can happen only on 32-bit
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 6 Feb 2019 10:39:46 +0000 (12:39 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:27:54 +0000 (10:27 -0300)
commit26ee2bcdea33c60aa833cc32a1624ef5d49c9c6f
tree4be40bc9e16c42bc1df67e48a62e5aef48646666
parent03997612904866abe7cdcc992784ef65cb3a4b81
perf intel-pt: Packet splitting can happen only on 32-bit

Data is copied when the trace is stopped, so packets are never split
between buffers except when processing if the buffer cannot fit in the
address space which can only happen on 32-bit systems. Change the logic
to reflect that.

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