All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/perf/util/probe-event.c included string.h twice
@ 2012-02-16 13:54 Danny Kukawka
  2012-02-17  6:04 ` Masami Hiramatsu
  2012-02-22 16:02 ` [tip:perf/core] perf tools: Remove duplicated string.h includes tip-bot for Danny Kukawka
  0 siblings, 2 replies; 3+ messages in thread
From: Danny Kukawka @ 2012-02-16 13:54 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Danny Kukawka, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo, Masami Hiramatsu, Steven Rostedt,
	Jovi Zhang, linux-kernel

tools/perf/util/probe-event.c included 'string.h' twice,
remove the duplicate.

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
---
 tools/perf/util/probe-event.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
index 29cb654..8ce8356 100644
--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -34,7 +34,6 @@
 
 #include "util.h"
 #include "event.h"
-#include "string.h"
 #include "strlist.h"
 #include "debug.h"
 #include "cache.h"
-- 
1.7.8.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] tools/perf/util/probe-event.c included string.h twice
  2012-02-16 13:54 [PATCH] tools/perf/util/probe-event.c included string.h twice Danny Kukawka
@ 2012-02-17  6:04 ` Masami Hiramatsu
  2012-02-22 16:02 ` [tip:perf/core] perf tools: Remove duplicated string.h includes tip-bot for Danny Kukawka
  1 sibling, 0 replies; 3+ messages in thread
From: Masami Hiramatsu @ 2012-02-17  6:04 UTC (permalink / raw)
  To: Danny Kukawka
  Cc: Peter Zijlstra, Danny Kukawka, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo, Steven Rostedt, Jovi Zhang,
	linux-kernel, yrl.pp-manager.tt

(2012/02/16 22:54), Danny Kukawka wrote:
> tools/perf/util/probe-event.c included 'string.h' twice,
> remove the duplicate.

Right, since perf-defined string util functions(in util/string.c)
are declared in util.h, not string.h.

> 
> Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>

Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitahi.com>

Thank you!

> ---
>  tools/perf/util/probe-event.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
> index 29cb654..8ce8356 100644
> --- a/tools/perf/util/probe-event.c
> +++ b/tools/perf/util/probe-event.c
> @@ -34,7 +34,6 @@
>  
>  #include "util.h"
>  #include "event.h"
> -#include "string.h"
>  #include "strlist.h"
>  #include "debug.h"
>  #include "cache.h"


-- 
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:perf/core] perf tools: Remove duplicated string.h includes
  2012-02-16 13:54 [PATCH] tools/perf/util/probe-event.c included string.h twice Danny Kukawka
  2012-02-17  6:04 ` Masami Hiramatsu
@ 2012-02-22 16:02 ` tip-bot for Danny Kukawka
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Danny Kukawka @ 2012-02-22 16:02 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: acme, linux-kernel, paulus, hpa, mingo, a.p.zijlstra,
	danny.kukawka, bookjovi, masami.hiramatsu.pt, dkukawka, rostedt,
	tglx, mingo

Commit-ID:  dfd3b1e3e8a580bcbf854d46ae0f22c8333e82d8
Gitweb:     http://git.kernel.org/tip/dfd3b1e3e8a580bcbf854d46ae0f22c8333e82d8
Author:     Danny Kukawka <danny.kukawka@bisect.de>
AuthorDate: Thu, 16 Feb 2012 14:54:19 +0100
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Fri, 17 Feb 2012 16:34:09 -0200

perf tools: Remove duplicated string.h includes

tools/perf/util/probe-event.c included 'string.h' twice, remove the
duplicate.

Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Danny Kukawka <dkukawka@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jovi Zhang <bookjovi@gmail.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1329400459-31570-1-git-send-email-danny.kukawka@bisect.de
Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/util/probe-event.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
index c1a513e..8379252 100644
--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -34,7 +34,6 @@
 
 #include "util.h"
 #include "event.h"
-#include "string.h"
 #include "strlist.h"
 #include "debug.h"
 #include "cache.h"

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-22 16:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16 13:54 [PATCH] tools/perf/util/probe-event.c included string.h twice Danny Kukawka
2012-02-17  6:04 ` Masami Hiramatsu
2012-02-22 16:02 ` [tip:perf/core] perf tools: Remove duplicated string.h includes tip-bot for Danny Kukawka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.