Re: [RFC PATCH] trace: Account bottom half disabled sections.

From: Steven Rostedt
Date: Fri Dec 10 2021 - 12:52:03 EST


On Fri, 10 Dec 2021 16:37:06 +0100
Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> wrote:

> 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 a rcu_read_lock_bh() section.
>
> Add a 'b' to the tracing output if in task context with disabled bottom
> halves.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
>

Looks good to me. Care to resend without the RFC attached, and that will
make sure it gets into my scripts.

Thanks!

-- Steve