linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* regression in rt patches
@ 2016-03-07 17:28 Henning Schild
  2016-03-07 23:55 ` Yang Shi
  0 siblings, 1 reply; 2+ messages in thread
From: Henning Schild @ 2016-03-07 17:28 UTC (permalink / raw)
  To: linux-rt-users, Yang Shi

Hey,

this patch out of the current 4.4.3-rt9 series
"trace: Use rcuidle version for preemptoff_hist trace point"
introduces a regression where the kernel wont compile for a
configuration without trace histograms

Ammend to following to the patch to fix it:

--- 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,


Henning

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: regression in rt patches
  2016-03-07 17:28 regression in rt patches Henning Schild
@ 2016-03-07 23:55 ` Yang Shi
  0 siblings, 0 replies; 2+ messages in thread
From: Yang Shi @ 2016-03-07 23:55 UTC (permalink / raw)
  To: Henning Schild, linux-rt-users

On 3/7/2016 9:28 AM, Henning Schild wrote:
> Hey,
>
> this patch out of the current 4.4.3-rt9 series
> "trace: Use rcuidle version for preemptoff_hist trace point"
> introduces a regression where the kernel wont compile for a
> configuration without trace histograms

Thanks for finding it. Yes, it was missed by me.

Yang

>
> Ammend to following to the patch to fix it:
>
> --- 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,
>
>
> Henning


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-07 23:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07 17:28 regression in rt patches Henning Schild
2016-03-07 23:55 ` Yang Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).