diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-10-30 14:49:45 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-11-09 20:12:34 +0300 |
commit | ce0f17fc93f63ee91428af10b7b2ddef38cd19e5 (patch) | |
tree | 81c9de4cdf751c18b7c0eb9c7229116f49811cbf /include/kunit | |
parent | 9dfa9a5c9bae3417b87824e7ac73b00c10b6a874 (diff) | |
download | linux-ce0f17fc93f63ee91428af10b7b2ddef38cd19e5.tar.xz |
perf: Fix get_recursion_context()
One should use in_serving_softirq() to detect SoftIRQ context.
Fixes: 96f6d4444302 ("perf_counter: avoid recursion")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201030151955.120572175@infradead.org
Diffstat (limited to 'include/kunit')
0 files changed, 0 insertions, 0 deletions