All of lore.kernel.org
 help / color / mirror / Atom feed
* 4.8.6-rt5 ftrace function_graph hangs
@ 2016-11-18  6:23 He Zhe
  2016-11-18 16:35 ` Steven Rostedt
  0 siblings, 1 reply; 10+ messages in thread
From: He Zhe @ 2016-11-18  6:23 UTC (permalink / raw)
  To: rostedt, tglx, linux-rt-users; +Cc: Yang Shi

Hi,

I'm using 4.8.6-rt5 and find the following issue on nxp-t4xxx board/qemuppc/qemux86-64.
When executing "echo function_graph > /sys/kernel/debug/tracing/current_tracer" the system hangs.
I traced the kernel to where it dies but don't know how to fix. Please help. Thank you.

(gdb) b ftrace_startup

...

Run till exit from #0 ftrace_startup (ops=0xc0cf1704 <graph_ops>, command=8) at /PATH/TO/kernel/trace/ftrace.c:2653
0xc00eb768 in register_ftrace_graph (retfunc=0xc010186c <trace_graph_return>, entryfunc=0xc01014c4 <trace_graph_entry>)
    at /PATH/TO/kernel-source/kernel/trace/ftrace.c:5908
5908 ret = ftrace_startup(&graph_ops, FTRACE_START_FUNC_RET);
Value returned is $1 = 0
(gdb) l
5903 */
5904 __ftrace_graph_entry = entryfunc;
5905 ftrace_graph_entry = ftrace_graph_entry_test;
5906 update_function_graph_func();
5907
5908 ret = ftrace_startup(&graph_ops, FTRACE_START_FUNC_RET);
5909 out:
5910 mutex_unlock(&ftrace_lock);
5911 return ret;
5912 }
(gdb) n
5910 mutex_unlock(&ftrace_lock);
(gdb) n

hangs...



Thanks,
Zhe

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

end of thread, other threads:[~2016-12-06 11:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-18  6:23 4.8.6-rt5 ftrace function_graph hangs He Zhe
2016-11-18 16:35 ` Steven Rostedt
2016-11-18 18:36   ` Yang Shi
2016-11-18 22:32     ` Steven Rostedt
2016-11-21  8:26   ` He Zhe
2016-11-21  8:30     ` He Zhe
2016-11-21 14:45       ` Steven Rostedt
2016-11-28 14:33       ` Sebastian Andrzej Siewior
2016-12-02 21:42         ` Yang Shi
2016-12-06 11:07           ` Sebastian Andrzej Siewior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.