public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Frederic Weisbecker <fweisbec@gmail.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org,
	joe@perches.com, tglx@linutronix.de, mingo@elte.hu,
	linux-tip-commits@vger.kernel.org
Subject: Re: [tip:tracing/urgent] ftrace.h: Use common pr_info fmt string
Date: Sun, 13 Dec 2009 15:50:58 +0100	[thread overview]
Message-ID: <20091213145056.GA5268@nowhere> (raw)
In-Reply-To: <1260715695.2146.412.camel@gandalf.stny.rr.com>

On Sun, Dec 13, 2009 at 09:48:15AM -0500, Steven Rostedt wrote:
> On Sun, 2009-12-13 at 07:37 +0000, tip-bot for Joe Perches wrote:
> > Commit-ID:  4819568f23a8bef0ca99b740ca60fe2450ab0aac
> > Gitweb:     http://git.kernel.org/tip/4819568f23a8bef0ca99b740ca60fe2450ab0aac
> > Author:     Joe Perches <joe@perches.com>
> > AuthorDate: Sat, 12 Dec 2009 13:06:13 -0800
> > Committer:  Ingo Molnar <mingo@elte.hu>
> > CommitDate: Sun, 13 Dec 2009 08:14:45 +0100
> > 
> > ftrace.h: Use common pr_info fmt string
> > 
> > Reduces fmt string space a bit.
> > 
> > Signed-off-by: Joe Perches <joe@perches.com>
> > Cc: Frederic Weisbecker <fweisbec@gmail.com>
> > Cc: Steven Rostedt <rostedt@goodmis.org>
> > LKML-Reference: <1260651974.2637.4.camel@Joe-Laptop.home>
> > Signed-off-by: Ingo Molnar <mingo@elte.hu>
> > ---
> >  include/trace/ftrace.h |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h
> > index d1b3de9..c4eca38 100644
> > --- a/include/trace/ftrace.h
> > +++ b/include/trace/ftrace.h
> > @@ -733,7 +733,7 @@ static int ftrace_raw_reg_event_##call(struct ftrace_event_call *unused)\
> >  	ret = register_trace_##call(ftrace_raw_event_##call);		\
> >  	if (ret)							\
> >  		pr_info("event trace: Could not activate trace point "	\
> > -			"probe to " #call "\n");			\
> > +			"probe to %s\n", #call);			\
> 
> This reduces format string space a bit, but doesn't it just add another
> string to the string tables #func == "func" as well as add code to pass
> in another parameter?
> 
> -- Steve


Yeah, I don't understand the purpose of this patch either...


  parent reply	other threads:[~2009-12-13 14:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-12 21:06 [PATCH] ftrace.h: Use common pr_info fmt string Joe Perches
2009-12-13  7:37 ` [tip:tracing/urgent] " tip-bot for Joe Perches
     [not found]   ` <1260715695.2146.412.camel@gandalf.stny.rr.com>
2009-12-13 14:50     ` Frederic Weisbecker [this message]
2009-12-13 17:53       ` Joe Perches
2009-12-13 18:33       ` Joe Perches
2009-12-13 21:24         ` 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=20091213145056.GA5268@nowhere \
    --to=fweisbec@gmail.com \
    --cc=hpa@zytor.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mingo@redhat.com \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /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