Re: RT patch + LTTng

From: Serge Noiraud
Date: Tue May 23 2006 - 10:55:37 EST


mardi 23 Mai 2006 16:06, Daniel Walker wrote/a écrit :
> On Mon, 2006-05-22 at 17:42 +0200, Serge Noiraud wrote:
>
> > ltt_stat-7809 0Dnh3 0us : __trace_start_sched_wakeup (try_to_wake_up)
> > ltt_stat-7809 0Dnh3 0us : __trace_start_sched_wakeup <<...>-3> (0 0)
>
>
> Do you also have preempt and interrupt latency turned on ? In addition
> to wakeup latency ..
Here is all I configured :
...
CONFIG_PREEMPT_RT=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_SOFTIRQS=y
CONFIG_PREEMPT_HARDIRQS=y
CONFIG_PREEMPT_BKL=y
# CONFIG_CLASSIC_RCU is not set
CONFIG_PREEMPT_RCU=y
CONFIG_RCU_STATS=y
...
CONFIG_DEBUG_PREEMPT=y
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_PI_LIST=y
CONFIG_RT_MUTEX_TESTER=y
CONFIG_WAKEUP_TIMING=y
CONFIG_WAKEUP_LATENCY_HIST=y
CONFIG_PREEMPT_TRACE=y
CONFIG_CRITICAL_PREEMPT_TIMING=y
CONFIG_PREEMPT_OFF_HIST=y
CONFIG_CRITICAL_IRQSOFF_TIMING=y
CONFIG_INTERRUPT_OFF_HIST=y
CONFIG_CRITICAL_TIMING=y
CONFIG_DEBUG_TRACE_IRQFLAGS=y
CONFIG_LATENCY_TIMING=y
CONFIG_CRITICAL_LATENCY_HIST=y
CONFIG_LATENCY_HIST=y
CONFIG_LATENCY_TRACE=y
...

If you want to known what I have in :
/proc/latency_hist/preempt_off_latency and in /proc/latency_hist/interrupt_off_latency
I suppressed all lines with a zero at the end.
There are no infos in these files.

-sh-2.05b# more /proc/latency_hist/preempt_off_latency/CPU0 | grep -v " 0$"
#Minimum latency: 4294967295 microseconds.
#Average latency: 0 microseconds.
#Maximum latency: 0 microseconds.
#Total samples: 0
#There are 0 samples greater or equal than 10240 microseconds
#usecs samples
-sh-2.05b# more /proc/latency_hist/preempt_off_latency/CPU1 | grep -v " 0$"
#Minimum latency: 4294967295 microseconds.
#Average latency: 0 microseconds.
#Maximum latency: 0 microseconds.
#Total samples: 0
#There are 0 samples greater or equal than 10240 microseconds
#usecs samples
-sh-2.05b# more /proc/latency_hist/interrupt_off_latency/CPU0 | grep -v " 0$"
#Minimum latency: 4294967295 microseconds.
#Average latency: 0 microseconds.
#Maximum latency: 0 microseconds.
#Total samples: 0
#There are 0 samples greater or equal than 10240 microseconds
#usecs samples
-sh-2.05b# more /proc/latency_hist/interrupt_off_latency/CPU1 | grep -v " 0$"
#Minimum latency: 4294967295 microseconds.
#Average latency: 0 microseconds.
#Maximum latency: 0 microseconds.
#Total samples: 0
#There are 0 samples greater or equal than 10240 microseconds
#usecs samples
-sh-2.05b#

>
> Daniel

--
Serge Noiraud
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/