]> git.baikalelectronics.ru Git - kernel.git/commit
perf intel-pt: Fix missing CYC processing in PSB
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 5 Feb 2021 17:53:47 +0000 (19:53 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 18 Feb 2021 19:03:19 +0000 (16:03 -0300)
commit5eb591e777c7497f657ffde81f0c5e7c65b5be16
tree0ca3b79185e7b2747382868f7339a7885119c2f1
parentb4cdb78b86e8d87d3fa1aa55d8eab8cf5b28f6f2
perf intel-pt: Fix missing CYC processing in PSB

Add missing CYC packet processing when walking through PSB+. This
improves the accuracy of timestamps that follow PSB+, until the next
MTC.

Fixes: e5675fff50dbd ("perf tools: Add new Intel PT packet definitions")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20210205175350.23817-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c