public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Lockup in tracepoint unregister in sched switch ftrace plugin
@ 2008-10-21  3:48 Steven Rostedt
  2008-10-21  4:11 ` Mathieu Desnoyers
  2008-10-21  4:14 ` Steven Rostedt
  0 siblings, 2 replies; 6+ messages in thread
From: Steven Rostedt @ 2008-10-21  3:48 UTC (permalink / raw)
  To: Mathieu Desnoyers
  Cc: LKML, Ingo Molnar, Thomas Gleixner, Peter Zijlstra,
	Paul E. McKenney, Andrew Morton, Linus Torvalds


Mathieu,

I just downloaded the latest git repo from Linus's tree, and the 
sched_switch start up test locks up. I traced it down to the first 
unregister of a trace point. Here's the call path that I see.

kernel/trace/trace.c: register_tracer
kernel/trace/trace_selftest.c: trace_selftest_startup_sched_switch
kernel/trace/trace_sched_switch.c: sched_switch_trace_ctrl_update
   " "  : stop_sched_trace
   " "  : tracing_stop_cmdline_record
   " "  : tracing_stop_sched_switch
   " "  : tracing_sched_unregister

  which calls unregister_trace_sched_switch define as macro to:

kernel/tracepoint.c: tracepoint_probe_unregister
   " "  : remove_tracepoint
kernel/rcupdate.c: rcu_barrier_sched
   " "  : _rcu_barrier

where it gets stuck at that "wait_for_completion".

I'm not sure if, because this is a scheduler trace point that we are 
hitting some kind of race that is preventing the wait_for_completion to 
finish, or what.

I'll look more at it tomorrow.

-- Steve



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

end of thread, other threads:[~2008-10-21 16:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21  3:48 Lockup in tracepoint unregister in sched switch ftrace plugin Steven Rostedt
2008-10-21  4:11 ` Mathieu Desnoyers
2008-10-21  4:14 ` Steven Rostedt
2008-10-21 12:08   ` Ingo Molnar
2008-10-21 13:03     ` Steven Rostedt
2008-10-21 16:18   ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox