diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-01-07 02:06:29 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-09 18:50:18 +0100 |
commit | 2707745533d6d38fa7d3a2212f1fd599c3879491 (patch) | |
tree | f2a00fbd77111415632d80b5842d12b18587619b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c79f46a282390e0f5b306007bf7b11a46d529538 (diff) |
time/sched_clock: Disable interrupts in sched_clock_register()
Instead of issueing a warning if sched_clock_register() is called from a
context where IRQs are enabled, the code now ensures that IRQs are indeed
disabled.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200107010630.954648-1-paul@crapouillou.net
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions