aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2024-03-25 08:40:22 +0200
committerThomas Gleixner <[email protected]>2024-04-08 15:03:08 +0200
commit135225a363ae67bc90bde7a2cbbe1ea0f152ba22 (patch)
treef807bda1fb68e96c9537602e6bf66fa6478a6d40 /tools/perf/scripts/python/flamegraph.py
parentfcf190c369149c3b04539797cedf28741eb14164 (diff)
timekeeping: Let timekeeping_cycles_to_ns() handle both under and overflow
For the case !CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE, forego overflow protection in the range (mask << 1) < delta <= mask, and interpret it always as an inconsistency between CPU clock values. That allows slightly neater code, and it is on a slow path so has no effect on performance. Suggested-by: Thomas Gleixner <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions