diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2020-03-21 12:26:02 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-03-21 16:00:24 +0100 |
commit | 40db173965c05a1d803451240ed41707d5bd978d (patch) | |
tree | c5629cb1e7034131b69c247d392e256be5dfc396 /tools/perf/scripts/python/check-perf-trace.py | |
parent | de8f5e4f2dc1f032b46afda0a78cab5456974f89 (diff) |
lockdep: Add hrtimer context tracing bits
Set current->irq_config = 1 for hrtimers which are not marked to expire in
hard interrupt context during hrtimer_init(). These timers will expire in
softirq context on PREEMPT_RT.
Setting this allows lockdep to differentiate these timers. If a timer is
marked to expire in hard interrupt context then the timer callback is not
supposed to acquire a regular spinlock instead of a raw_spinlock in the
expiry callback.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions