Re: [PATCH v8 1/2] tracing: Prepare to add preempt and irq trace events

From: Joel Fernandes
Date: Tue Oct 10 2017 - 18:32:35 EST


On Tue, Oct 10, 2017 at 3:19 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Thu, 5 Oct 2017 17:54:31 -0700
> Joel Fernandes <joelaf@xxxxxxxxxx> wrote:
>
>> In preparation of adding irqsoff and preemptsoff enable and disable trace
>> events, move required functions and code to make it easier to add these events
>> in a later patch. This patch is just code movement and no functional change.
>
> New warning:
>
> kernel/trace/trace_irqsoff.c:783:69: warning: 'tracing_irq_cpu' defined but not used [-Wunused-variable]
>
> Looks pretty obvious what the fix is. Care to send a v9?

Yes, I'll fix it and send a v9. Sorry about that.

thanks,

- Joel