diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2021-04-30 10:03:07 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-05-12 18:43:11 +0300 |
commit | 31c7e27dae0e15ed466d8acced7e3a536e547b07 (patch) | |
tree | e60e339559472146443ec6ff653900d39650a025 /Documentation/atomic_t.txt | |
parent | 5ac35d778a40c9f244a38920247ad41a44c66a02 (diff) | |
download | linux-31c7e27dae0e15ed466d8acced7e3a536e547b07.tar.xz |
perf intel-pt: Better 7-byte timestamp wraparound logic
A timestamp should not go backwards. If it does it is assumed that the
7-byte TSC packet value has wrapped. Improve that logic so that it will
not allow the timestamp to go past the buffer timestamp (which is recorded
when the buffer is copied out)
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/20210430070309.17624-11-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Documentation/atomic_t.txt')
0 files changed, 0 insertions, 0 deletions