Skip to contentSkip to conversation

regression in rt patches

PATCH Henning Schild 2 participants 2 messages Mar 7, 2016 Tracing

lore
Share & tools
lore
#0 lore raw

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:

include/trace/events/hist.h +1 -0
@@ -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

#1 lore raw
Quoted 6 lines · Henning Schild

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

Quoted 15 lines

Ammend to following to the patch to fix it:

include/trace/events/hist.h +1 -0
@@ -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