OSDN Git Service

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)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 25 Jun 2018 14:59:36 +0000 (11:59 -0300)
commit621a5a327c1e36ffd7bb567f44a559f64f76358f
tree87f9171f351ab824abaaa9baef709b617c2363d0
parent16ddcfbf7f3d07aa781e26b39f2c28636a4ed2fd
perf intel-pt: Fix packet decoding of CYC packets

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