Re: [PATCH V4 2/3] tracing/osnoise: Add preempt and/or irq disabled options

From: Daniel Bristot de Oliveira
Date: Fri Dec 09 2022 - 16:17:08 EST


On 12/9/22 21:35, Steven Rostedt wrote:
>> + if (preempt_disable)
>> + preempt_disable();
>> +
> The only reason the above works is because preempt_disable() is a macro.
> If it was a function, then it would likely fail to build (as you are
> overriding the name with a bool variable).

oops.

Sending a new version changing the variable name.

-- Daniel