tools/perf/util/probe-event.c included string.h twice
PATCH 1/1 tools/perf/util/probe-event.c included string.h twice
tools/perf/util/probe-event.c included 'string.h' twice, remove the duplicate.
Signed-off-by Danny Kukawka <[email protected]>
--- tools/perf/util/probe-event.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
tools/perf/util/probe-event.c +0 -1
@@ -34,7 +34,6 @@#include "util.h" #include "event.h" -#include "string.h" #include "strlist.h" #include "debug.h" #include "cache.h"
Signature · 1 line
1.7.8.3
Quoted 2 lines · Danny Kukawka
tools/perf/util/probe-event.cincluded '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.
Quoted 2 lines
Signed-off-by Danny Kukawka <[email protected]>
Acked-by Masami Hiramatsu <[email protected]>
Thank you!
Quoted 16 lines
--- tools/perf/util/probe-event.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)tools/perf/util/probe-event.c +0
-1@@ -34,7 +34,6 @@#include "util.h" #include "event.h" -#include "string.h" #include "strlist.h" #include "debug.h" #include "cache.h"
Signature · 4 lines
Masami HIRAMATSU Software Platform Research Dept. Linux Technology Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: [email protected]
[tip:perf/core] perf tools: Remove duplicated string.h includes
In reply to Danny KukawkaCommit-ID: dfd3b1e3e8a580bcbf854d46ae0f22c8333e82d8 Gitweb: http://git.kernel.org/tip/dfd3b1e3e8a580bcbf854d46ae0f22c8333e82d8 Author: Danny Kukawka <[email protected]> AuthorDate: Thu, 16 Feb 2012 14:54:19 +0100 Committer: Arnaldo Carvalho de Melo <[email protected]> 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 <[email protected]>
Cc Danny Kukawka <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jovi Zhang <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Steven Rostedt <[email protected]>
Signed-off-by Danny Kukawka <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/probe-event.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
tools/perf/util/probe-event.c +0 -1
@@ -34,7 +34,6 @@#include "util.h" #include "event.h" -#include "string.h" #include "strlist.h" #include "debug.h" #include "cache.h"