Skip to contentSkip to conversation

ARM: compile fix for event tracing

PATCH In review Kevin Hilman 3 participants 3 messages Dec 4, 2007 – Feb 15, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: compile fix for event tracing

The cycles/usecs conversion macros should be dependent on CONFIG_EVENT_TRACE instead of CONFIG_LATENCY_TIMING.

include/asm-arm/timex.h +1 -1
@@ -18,7 +18,7 @@ typedef unsigned long cycles_t;
 
 #ifndef mach_read_cycles
  #define mach_read_cycles() (0)
-#ifdef CONFIG_LATENCY_TIMING
+#ifdef CONFIG_EVENT_TRACE
  #define mach_cycles_to_usecs(d) (d)
  #define mach_usecs_to_cycles(d) (d)
 #endif
#1 lore raw

include/asm-arm/timex.h

Quoted 7 lines · Kevin Hilman

The cycles/usecs conversion macros should be dependent on CONFIG_EVENT_TRACE instead of CONFIG_LATENCY_TIMING.

include/asm-arm/timex.h +0 -0

Hi, thanks I'll apply this.

But please, in the future, state which version of the -rt patch you applied this to.

Thanks,

-- Steve

#2 lore raw
Quoted 10 lines · Steven Rostedt <rostedt <at> goodmis.org> writes:
Quoted 3 lines · Kevin Hilman

The cycles/usecs conversion macros should be dependent on CONFIG_EVENT_TRACE instead of CONFIG_LATENCY_TIMING.

Hi, thanks I'll apply this.

But please, in the future, state which version of the -rt patch you applied this to.

But now this berak when CONFIG_LATENCY_TIMING. is selected but not CONFIG_EVENT_TRACE

Matthieu