Skip to contentSkip to conversation

Using CONFIG_FUNCTION_TRACE

DISCUSSION Darren Hart 1 participant 1 message Dec 14, 2007

lore
Share & tools
lore
#0 lore raw

I was trying to use CONFIG_FUNCTION_TRACE with the example trace-it.c in linux/scripts. On both 2.6.23.9-rt13 and 2.6.24-rc2-rt1 the system slower becomes less responsive (measured by typing in ssh and a serial console) until after a couple minutes it doesn't respond to anything including sysrq, requiring a power cycle.

The trace-it.c program defaults to 10 seconds of tracing, I even tried dropping that to 100 us in case it just added so much overhead that 10 seconds of idle turned into minutes. But the 100us sleep hung too.

I tested on a 4 way (2x2) opteron.

I enabled:

CONFIG_EVENT_TRACE
CONFIG_FUNCTION_TRACE

Thanks,

Signature · 3 lines
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team