lkml.org 
[lkml]   [2009]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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
>



\
 
 \ /
  Last update: 2009-05-20 01:17    [W:0.032 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site