[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f21021f6-3b00-148e-89ad-24d5bb2a8a7f@kernel.org>
Date: Tue, 29 Nov 2022 09:27:28 +0100
From: Daniel Bristot de Oliveira <bristot@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
Jonathan Corbet <corbet@....net>,
Juri Lelli <juri.lelli@...hat.com>,
Clark Williams <williams@...hat.com>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Bagas Sanjaya <bagasdotme@...il.com>
Subject: Re: [PATCH V3 2/3] tracing/osnoise: Add preempt/irq disable options
On 11/28/22 21:39, Steven Rostedt wrote:
> On Fri, 25 Nov 2022 22:20:23 +0100
> Daniel Bristot de Oliveira <bristot@...nel.org> wrote:
>
>> @@ -1308,6 +1315,8 @@ static void notify_new_max_latency(u64 latency)
>> */
>> static int run_osnoise(void)
>> {
>> + bool preempt_disable = test_bit(OSN_PREEMPT_DISABLE, &osnoise_options);
>> + bool irq_disable = test_bit(OSN_IRQ_DISABLE, &osnoise_options);
> bool irq_disable = test_bit(OSN_IRQ_DISABLE, &osnoise_options);
> bool preempt_disable = IS_ENABLED(CONFIG_PREEMPT) &&
> !irq_disable && test_bit(OSN_PREEMPT_DISABLE, &osnoise_options);
>
Ooops, you are right. I will fix this, and the doc as well, in the v4.
Thanks
-- Daniel
Powered by blists - more mailing lists