mirror_ubuntu-kernels/tools/perf/util/intel-pt-decoder
Adrian Hunter 430635a0ef perf intel-pt: Fix CYC timestamps after standalone CBR
After a standalone CBR (not associated with TSC), update the cycles
reference timestamp and reset the cycle count, so that CYC timestamps
are calculated relative to that point with the new frequency.

Fixes: cc33618619 ("perf tools: Add Intel PT support for decoding CYC packets")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230403154831.8651-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2023-04-04 09:39:57 -03:00
..
Build x86/insn: Use get_unaligned() instead of memcpy() 2021-10-06 11:56:37 +02:00
intel-pt-decoder.c perf intel-pt: Fix CYC timestamps after standalone CBR 2023-04-04 09:39:57 -03:00
intel-pt-decoder.h perf intel-pt: Add support for emulated ptwrite 2022-05-17 11:55:49 -03:00
intel-pt-insn-decoder.c perf intel-pt: Add support for new branch instructions ERETS and ERETU 2023-03-20 19:25:40 -03:00
intel-pt-insn-decoder.h perf intel-pt: Add support for new branch instructions ERETS and ERETU 2023-03-20 19:25:40 -03:00
intel-pt-log.c perf intel-pt: Remove first line of log dumped on error 2022-10-04 08:55:21 -03:00
intel-pt-log.h perf intel-pt: Support itrace option flag d+e to log on error 2022-10-04 08:55:21 -03:00
intel-pt-pkt-decoder.c perf intel-pt: pkt-decoder: Add MODE.Exec IFLAG bit 2022-02-15 17:06:11 -03:00
intel-pt-pkt-decoder.h perf intel-pt: pkt-decoder: Add CFE and EVD packets 2022-02-15 17:05:44 -03:00