From: "K.Prasad" <prasad@linux.vnet.ibm.com>
To: Alan Stern <stern@rowland.harvard.edu>,
Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Ingo Molnar <mingo@elte.hu>,
"K.Prasad" <prasad@linux.vnet.ibm.com>
Subject: [Patch 2/2] Fix the style issue seen in ksym tracer ftrace plugin
Date: Tue, 19 May 2009 21:55:58 +0530 [thread overview]
Message-ID: <20090519162558.GC26009@in.ibm.com> (raw)
In-Reply-To: 20090519161720.374172804@prasadkr_t60p.in.ibm.com
[-- Attachment #1: fix_style_issue_ftrace_NEW_02 --]
[-- Type: text/plain, Size: 1295 bytes --]
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>
---
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
next prev parent reply other threads:[~2009-05-19 16:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090519161720.374172804@prasadkr_t60p.in.ibm.com>
2009-05-19 16:24 ` [Patch 1/2] Improvements and minor fixes to HW Breakpoint interface K.Prasad
2009-05-19 18:09 ` Alan Stern
2009-05-20 10:55 ` K.Prasad
2009-05-20 14:04 ` Alan Stern
2009-05-20 16:45 ` K.Prasad
2009-05-20 17:53 ` Alan Stern
2009-05-19 16:25 ` K.Prasad [this message]
2009-05-19 23:14 ` [Patch 2/2] Fix the style issue seen in ksym tracer ftrace plugin Frederic Weisbecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090519162558.GC26009@in.ibm.com \
--to=prasad@linux.vnet.ibm.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).