From: Frederic Weisbecker <fweisbec@gmail.com>
To: Li Zefan <lizf@cn.fujitsu.com>, Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] ksym_tracer: Remove KSYM_SELFTEST_ENTRY
Date: Thu, 10 Sep 2009 03:48:10 +0200 [thread overview]
Message-ID: <20090910014808.GB8450@nowhere> (raw)
In-Reply-To: <4AA857D8.9020906@cn.fujitsu.com>
On Thu, Sep 10, 2009 at 09:35:20AM +0800, Li Zefan wrote:
> The macro used to be used in both trace_selftest.c and
> trace_ksym.c, but no longer, so remove it from header file.
>
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Steve, I should better take this one. I'm currently working
on the breakpoint tree and I prepare a pull request so I can
bring it inside.
Thanks.
> ---
> kernel/trace/trace.h | 1 -
> kernel/trace/trace_selftest.c | 2 +-
> 2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
> index 76ed0db..e6b1c73 100644
> --- a/kernel/trace/trace.h
> +++ b/kernel/trace/trace.h
> @@ -202,7 +202,6 @@ struct syscall_trace_exit {
> unsigned long ret;
> };
>
> -#define KSYM_SELFTEST_ENTRY "ksym_selftest_dummy"
> extern int process_new_ksym_entry(char *ksymname, int op, unsigned long addr);
>
> struct ksym_trace_entry {
> diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c
> index 7179c12..a006f00 100644
> --- a/kernel/trace/trace_selftest.c
> +++ b/kernel/trace/trace_selftest.c
> @@ -828,7 +828,7 @@ trace_selftest_startup_ksym(struct tracer *trace, struct trace_array *tr)
>
> ksym_selftest_dummy = 0;
> /* Register the read-write tracing request */
> - ret = process_new_ksym_entry(KSYM_SELFTEST_ENTRY, HW_BREAKPOINT_RW,
> + ret = process_new_ksym_entry("ksym_selftest_dummy", HW_BREAKPOINT_RW,
> (unsigned long)(&ksym_selftest_dummy));
>
> if (ret < 0) {
> --
> 1.6.3
next prev parent reply other threads:[~2009-09-10 1:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-10 1:35 [PATCH 2/2] ksym_tracer: Remove KSYM_SELFTEST_ENTRY Li Zefan
2009-09-10 1:48 ` Frederic Weisbecker [this message]
2009-09-10 1:56 ` Steven Rostedt
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=20090910014808.GB8450@nowhere \
--to=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
/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