diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2021-12-13 10:08:53 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2022-01-13 21:23:04 +0000 |
| commit | 289e7b0f7eb47b87a0441e6c81336316f301eb39 (patch) | |
| tree | 48538debf71756dd4b53ceabde05da71bc63b440 /lib/test_stackinit.c | |
| parent | tracing: Add helper functions to simplify event_command.parse() callback hand... (diff) | |
| download | kernel-289e7b0f7eb47b87a0441e6c81336316f301eb39.tar.gz kernel-289e7b0f7eb47b87a0441e6c81336316f301eb39.zip | |
tracing: Account bottom half disabled sections.
Disabling only bottom halves via local_bh_disable() disables also
preemption but this remains invisible to tracing. On a CONFIG_PREEMPT
kernel one might wonder why there is no scheduling happening despite the
N flag in the trace. The reason might be the a rcu_read_lock_bh()
section.
Add a 'b' to the tracing output if in task context with disabled bottom
halves.
Link: https://lkml.kernel.org/r/YbcbtdtC/[email protected]
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions
