diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2018-03-07 16:02:23 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-03-08 10:05:55 -0300 |
commit | 1c196a6c771c47a2faa63d38d913e03284f73a16 (patch) | |
tree | 1e78541f36c072243d72599123a1a58f0803dd5d /tools/perf/util/annotate.c | |
parent | 63d8e38f6ae6c36dd5b5ba0e8c112e8861532ea2 (diff) |
perf intel-pt: Fix error recovery from missing TIP packet
When a TIP packet is expected but there is a different packet, it is an
error. However the unexpected packet might be something important like a
TSC packet, so after the error, it is necessary to continue from there,
rather than the next packet. That is achieved by setting pkt_step to
zero.
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/1520431349-30689-4-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions