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

From: Sebastian Andrzej Siewior
Date: Tue Mar 08 2016 - 03:10:51 EST


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_INTERRUPT_OFF_HIST)
> #define trace_preemptirqsoff_hist(a, b)
> +#define trace_preemptirqsoff_hist_rcuidle(a, b)
> #else
> TRACE_EVENT(preemptirqsoff_hist,

I have this piece already in my tree.

>
> @@ -33,6 +34,7 @@ TRACE_EVENT(preemptirqsoff_hist,
>
> #ifndef CONFIG_MISSED_TIMER_OFFSETS_HIST
> #define trace_hrtimer_interrupt(a, b, c, d)
> +#define trace_hrtimer_interrupt_rcuidle(a, b, c, d)
> #else
> TRACE_EVENT(hrtimer_interrupt,

I was thinking about this but then I saw no users of it. Do we have
any? (haven't seen them in v4.1 either).

Sebastian