Messages in this thread | | | Date | Wed, 20 May 2009 01:14:21 +0200 | From | Frederic Weisbecker <> | Subject | Re: [Patch 2/2] Fix the style issue seen in ksym tracer ftrace plugin |
| |
On Tue, May 19, 2009 at 09:55:58PM +0530, K.Prasad wrote: > Fix the style issue seen in ksym tracer ftrace plugin > > Move the extern 'process_new_ksym_entry' declaration from > trace_selftest.c to trace.h file due to a reported style issue. > > Signed-off-by: K.Prasad <prasad@linux.vnet.ibm.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
> --- > kernel/trace/trace.h | 1 + > kernel/trace/trace_selftest.c | 1 - > 2 files changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6-tip.hbkpt/kernel/trace/trace.h > =================================================================== > --- linux-2.6-tip.hbkpt.orig/kernel/trace/trace.h > +++ linux-2.6-tip.hbkpt/kernel/trace/trace.h > @@ -213,6 +213,7 @@ struct syscall_trace_exit { > }; > > #define KSYM_SELFTEST_ENTRY "ksym_selftest_dummy" > +extern int process_new_ksym_entry(char *ksymname, int op, unsigned long addr); > > struct trace_ksym { > struct trace_entry ent; > Index: linux-2.6-tip.hbkpt/kernel/trace/trace_selftest.c > =================================================================== > --- linux-2.6-tip.hbkpt.orig/kernel/trace/trace_selftest.c > +++ linux-2.6-tip.hbkpt/kernel/trace/trace_selftest.c > @@ -810,7 +810,6 @@ trace_selftest_startup_hw_branches(struc > #endif /* CONFIG_HW_BRANCH_TRACER */ > > #ifdef CONFIG_KSYM_TRACER > -extern int process_new_ksym_entry(char *ksymname, int op, unsigned long addr); > static int ksym_selftest_dummy; > > int >
| |