perf intel-pt: Fix packet decoding of CYC packets
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 7 Jun 2018 11:30:02 +0000 (14:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 09:25:01 +0000 (11:25 +0200)
commitc3382e70a0435cb93eb09fd39c3419d2f8875b5d
treeb9caf3b21c611a61a9385d8db8f212b988a8ce15
parent4e7b3632eafa50c8d2225a4f70c7012a0ff8258b
perf intel-pt: Fix packet decoding of CYC packets

commit 621a5a327c1e36ffd7bb567f44a559f64f76358f upstream.

Use a 64-bit type so that the cycle count is not limited to 32-bits.

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/1528371002-8862-1-git-send-email-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-pkt-decoder.c