public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -tip 1/2] function-graph: fix the output of set_graph_function
@ 2009-07-22  8:38 Li Zefan
  2009-07-22  8:38 ` [PATCH -tip 2/2] function-graph: use ftrace_graph_funcs directly Li Zefan
  2009-07-24  0:35 ` [PATCH -tip 1/2] function-graph: fix the output of set_graph_function Steven Rostedt
  0 siblings, 2 replies; 6+ messages in thread
From: Li Zefan @ 2009-07-22  8:38 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Ingo Molnar, Frederic Weisbecker, LKML

It always shows "ftrace_graph_funcs":

 # echo 'sys_open' > set_graph_function
 # cat set_graph_function
 ftrace_graph_funcs

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
 kernel/trace/ftrace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 24e3ff5..c6c0c07 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -2505,7 +2505,7 @@ static int g_show(struct seq_file *m, void *v)
 		return 0;
 	}
 
-	seq_printf(m, "%pf\n", v);
+	seq_printf(m, "%pf\n", (void *)*ptr);
 
 	return 0;
 }
-- 
1.6.3


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

end of thread, other threads:[~2009-07-24  0:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22  8:38 [PATCH -tip 1/2] function-graph: fix the output of set_graph_function Li Zefan
2009-07-22  8:38 ` [PATCH -tip 2/2] function-graph: use ftrace_graph_funcs directly Li Zefan
2009-07-24  0:37   ` Steven Rostedt
2009-07-24  0:35 ` [PATCH -tip 1/2] function-graph: fix the output of set_graph_function Steven Rostedt
2009-07-24  0:38   ` Li Zefan
2009-07-24  0:41     ` Steven Rostedt

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