diff options
author | 2023-05-19 12:21:08 +0200 | |
---|---|---|
committer | 2023-06-05 21:11:08 +0200 | |
commit | e39acc37db34f6688e2c16e958fb1d662c422c81 (patch) | |
tree | eceb7d6b799562d0c1e35f4e4e0b9d2f7d8ca819 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | clocksource: hyper-v: Adjust hv_read_tsc_page_tsc() to avoid special casing U64_MAX (diff) | |
download | wireguard-linux-e39acc37db34f6688e2c16e958fb1d662c422c81.tar.xz wireguard-linux-e39acc37db34f6688e2c16e958fb1d662c422c81.zip |
clocksource: hyper-v: Provide noinstr sched_clock()
With the intent to provide local_clock_noinstr(), a variant of
local_clock() that's safe to be called from noinstr code (with the
assumption that any such code will already be non-preemptible),
prepare for things by making the Hyper-V TSC and MSR sched_clock
implementations noinstr.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Co-developed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com> # Hyper-V
Link: https://lore.kernel.org/r/20230519102715.843039089@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions