[for-next][PATCH 2/3] ftrace: Expose ftrace_hash_empty and ftrace_lookup_ip

2017-01-21 Thread Steven Rostedt
From: Namhyung Kim It will be used when checking graph filter hashes later. Link: http://lkml.kernel.org/r/20170120024447.26097-2-namhy...@kernel.org Signed-off-by: Namhyung Kim [ Moved ftrace_hash dec and functions outside of FUNCTION_GRAPH define ] Signed-off-by: Steven Rostedt (VMware) ---

Re: [PATCH 2/3] ftrace: Expose ftrace_hash_empty and ftrace_lookup_ip

2017-01-20 Thread Namhyung Kim
On Fri, Jan 20, 2017 at 09:13:17PM -0500, Steven Rostedt wrote: > On Sat, 21 Jan 2017 09:27:06 +0900 > Namhyung Kim wrote: > > > > > Note, I had to modify this patch and move this declaration outside of > > > the #ifdef CONFIG_FUNCTION_GRAPH_TRACER, as it failed to build when > > > function grap

Re: [PATCH 2/3] ftrace: Expose ftrace_hash_empty and ftrace_lookup_ip

2017-01-20 Thread Steven Rostedt
On Sat, 21 Jan 2017 09:27:06 +0900 Namhyung Kim wrote: > > Note, I had to modify this patch and move this declaration outside of > > the #ifdef CONFIG_FUNCTION_GRAPH_TRACER, as it failed to build when > > function graph wasn't enabled. Function tracer uses this too. > > Oops, my bad. > > Did

Re: [PATCH 2/3] ftrace: Expose ftrace_hash_empty and ftrace_lookup_ip

2017-01-20 Thread Namhyung Kim
On Fri, Jan 20, 2017 at 02:54:20PM -0500, Steven Rostedt wrote: > On Fri, 20 Jan 2017 11:44:46 +0900 > Namhyung Kim wrote: > > > > --- a/kernel/trace/trace.h > > +++ b/kernel/trace/trace.h > > @@ -787,6 +787,20 @@ extern void __trace_graph_return(struct trace_array > > *tr, > >

Re: [PATCH 2/3] ftrace: Expose ftrace_hash_empty and ftrace_lookup_ip

2017-01-20 Thread Steven Rostedt
On Fri, 20 Jan 2017 11:44:46 +0900 Namhyung Kim wrote: > --- a/kernel/trace/trace.h > +++ b/kernel/trace/trace.h > @@ -787,6 +787,20 @@ extern void __trace_graph_return(struct trace_array *tr, >struct ftrace_graph_ret *trace, >unsig

[PATCH 2/3] ftrace: Expose ftrace_hash_empty and ftrace_lookup_ip

2017-01-19 Thread Namhyung Kim
It will be used when checking graph filter hashes later. Signed-off-by: Namhyung Kim --- kernel/trace/ftrace.c | 14 +- kernel/trace/trace.h | 14 ++ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 37b0