Re: [v4.4-rt PATCH] rt: trace: add rcuidle version macro for preemptirqsoff_hist and hrtimer_interrupt

2016-03-09 Thread Steven Rostedt
On Wed, 9 Mar 2016 15:46:23 +0100 Sebastian Andrzej Siewior wrote: > * Steven Rostedt | 2016-03-08 14:17:13 [-0500]: > > >> > index 6122e42..37f6eb8 100644 > >> > --- a/include/trace/events/hist.h > >> > +++ b/include/trace/events/hist.h > >> > @@ -9,6 +9,7 @@ > >> > > >> > #if !defined(CONFI

Re: [v4.4-rt PATCH] rt: trace: add rcuidle version macro for preemptirqsoff_hist and hrtimer_interrupt

2016-03-09 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2016-03-08 14:17:13 [-0500]: >> > index 6122e42..37f6eb8 100644 >> > --- a/include/trace/events/hist.h >> > +++ b/include/trace/events/hist.h >> > @@ -9,6 +9,7 @@ >> > >> > #if !defined(CONFIG_PREEMPT_OFF_HIST) && >> > !defined(CONFIG_INTERRUPT_OFF_HIST) >> > #define trace_

Re: [v4.4-rt PATCH] rt: trace: add rcuidle version macro for preemptirqsoff_hist and hrtimer_interrupt

2016-03-09 Thread Yang Shi
On 3/8/2016 12:10 AM, Sebastian Andrzej Siewior wrote: On 03/08/2016 12:45 AM, Yang Shi wrote: diff --git a/include/trace/events/hist.h b/include/trace/events/hist.h index 6122e42..37f6eb8 100644 --- a/include/trace/events/hist.h +++ b/include/trace/events/hist.h @@ -9,6 +9,7 @@ #if !define

Re: [v4.4-rt PATCH] rt: trace: add rcuidle version macro for preemptirqsoff_hist and hrtimer_interrupt

2016-03-08 Thread Steven Rostedt
On Tue, 8 Mar 2016 09:10:36 +0100 Sebastian Andrzej Siewior wrote: > On 03/08/2016 12:45 AM, Yang Shi wrote: > > diff --git a/include/trace/events/hist.h b/include/trace/events/hist.h > > index 6122e42..37f6eb8 100644 > > --- a/include/trace/events/hist.h > > +++ b/include/trace/events/hist.h > >

Re: [v4.4-rt PATCH] rt: trace: add rcuidle version macro for preemptirqsoff_hist and hrtimer_interrupt

2016-03-08 Thread Sebastian Andrzej Siewior
On 03/08/2016 12:45 AM, Yang Shi wrote: > diff --git a/include/trace/events/hist.h b/include/trace/events/hist.h > index 6122e42..37f6eb8 100644 > --- a/include/trace/events/hist.h > +++ b/include/trace/events/hist.h > @@ -9,6 +9,7 @@ > > #if !defined(CONFIG_PREEMPT_OFF_HIST) && !defined(CONFIG_

[v4.4-rt PATCH] rt: trace: add rcuidle version macro for preemptirqsoff_hist and hrtimer_interrupt

2016-03-07 Thread Yang Shi
When building rt kernel with IRQSOFF_TRACER enabled but INTERRUPT_OFF_HIST or PREEMPT_OFF_HIST disabled, the below build failure will be triggered: | /home/yshi/linux-rt/kernel/trace/trace_irqsoff.c: In function 'time_hardirqs_on': | /home/yshi/linux-rt/kernel/trace/trace_irqsoff.c:453:2: error: