diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2018-05-31 13:23:45 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-06-06 18:52:08 +0300 |
commit | 9fb523363f6e3984457fee95bb7019395384ffa7 (patch) | |
tree | 5acf83a6f36d6838403ddc94a97518a9c0f39455 /tools/perf/util/comm.c | |
parent | dd27b87ab5fcf3ea1c060b5e3ab5d31cc78e9f4c (diff) | |
download | linux-9fb523363f6e3984457fee95bb7019395384ffa7.tar.xz |
perf intel-pt: Fix "Unexpected indirect branch" error
Some Atom CPUs can produce FUP packets that contain NLIP (next linear
instruction pointer) instead of CLIP (current linear instruction
pointer). That will result in "Unexpected indirect branch" errors. Fix
by comparing IP to NLIP in that case.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/1527762225-26024-5-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/comm.c')
0 files changed, 0 insertions, 0 deletions