All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf tools: Add missing tools/perf/util/include/string.h
@ 2009-10-19 17:11 Arnaldo Carvalho de Melo
  2009-10-19 17:47 ` Frederic Weisbecker
  2009-10-24  1:03 ` [tip:branch?] " tip-bot for Arnaldo Carvalho de Melo
  0 siblings, 2 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2009-10-19 17:11 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Steven Rostedt,
	Peter Zijlstra, Frederic Weisbecker

To cure a bunch of:

In file included from util/include/linux/bitmap.h:1,
                 from util/header.h:8,
                 from builtin-trace.c:7:
util/include/../../../../include/linux/bitmap.h:8:26: error: linux/string.h: No such file or directory
make: *** [builtin-trace.o] Error 1
make: *** Waiting for unfinished jobs....

Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/Makefile                    |    1 +
 tools/perf/util/include/linux/string.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 tools/perf/util/include/linux/string.h

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index db89a6d..3b154f1 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -329,6 +329,7 @@ LIB_H += ../../include/linux/perf_event.h
 LIB_H += ../../include/linux/rbtree.h
 LIB_H += ../../include/linux/list.h
 LIB_H += util/include/linux/list.h
+LIB_H += util/include/linux/string.h
 LIB_H += perf.h
 LIB_H += util/event.h
 LIB_H += util/types.h
diff --git a/tools/perf/util/include/linux/string.h b/tools/perf/util/include/linux/string.h
new file mode 100644
index 0000000..3b2f590
--- /dev/null
+++ b/tools/perf/util/include/linux/string.h
@@ -0,0 +1 @@
+#include <string.h>
-- 
1.5.5.1


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

* Re: [PATCH] perf tools: Add missing tools/perf/util/include/string.h
  2009-10-19 17:11 [PATCH] perf tools: Add missing tools/perf/util/include/string.h Arnaldo Carvalho de Melo
@ 2009-10-19 17:47 ` Frederic Weisbecker
  2009-10-24  1:03 ` [tip:branch?] " tip-bot for Arnaldo Carvalho de Melo
  1 sibling, 0 replies; 3+ messages in thread
From: Frederic Weisbecker @ 2009-10-19 17:47 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Ingo Molnar, linux-kernel, Arnaldo Carvalho de Melo,
	Steven Rostedt, Peter Zijlstra

On Mon, Oct 19, 2009 at 03:11:36PM -0200, Arnaldo Carvalho de Melo wrote:
> To cure a bunch of:
> 
> In file included from util/include/linux/bitmap.h:1,
>                  from util/header.h:8,
>                  from builtin-trace.c:7:
> util/include/../../../../include/linux/bitmap.h:8:26: error: linux/string.h: No such file or directory
> make: *** [builtin-trace.o] Error 1
> make: *** Waiting for unfinished jobs....



Hmm, while exporting some headers, I saw that some kernel headers inclusion didn't
triggered any warning although they were including headers for which I hadn't
put any stub, so they couldn't find it.

So it looks like my gcc is sometimes missing such problems. Sorry.

Thanks.


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

* [tip:branch?] perf tools: Add missing tools/perf/util/include/string.h
  2009-10-19 17:11 [PATCH] perf tools: Add missing tools/perf/util/include/string.h Arnaldo Carvalho de Melo
  2009-10-19 17:47 ` Frederic Weisbecker
@ 2009-10-24  1:03 ` tip-bot for Arnaldo Carvalho de Melo
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Arnaldo Carvalho de Melo @ 2009-10-24  1:03 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, acme, hpa, mingo, peterz, fweisbec, srostedt, tglx,
	mingo

Commit-ID:  20639c15d2e78f180d398a6b6422880fac3258bb
Gitweb:     http://git.kernel.org/tip/20639c15d2e78f180d398a6b6422880fac3258bb
Author:     Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate: Mon, 19 Oct 2009 15:11:36 -0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Tue, 20 Oct 2009 02:59:34 +0200

perf tools: Add missing tools/perf/util/include/string.h

To cure a bunch of:

In file included from util/include/linux/bitmap.h:1,
                 from util/header.h:8,
                 from builtin-trace.c:7:
util/include/../../../../include/linux/bitmap.h:8:26: error:
linux/string.h: No such file or directory make: ***
[builtin-trace.o] Error 1 make: *** Waiting for unfinished
jobs....

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1255972296-11500-1-git-send-email-acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 tools/perf/Makefile                    |    1 +
 tools/perf/util/include/linux/string.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index db89a6d..3b154f1 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -329,6 +329,7 @@ LIB_H += ../../include/linux/perf_event.h
 LIB_H += ../../include/linux/rbtree.h
 LIB_H += ../../include/linux/list.h
 LIB_H += util/include/linux/list.h
+LIB_H += util/include/linux/string.h
 LIB_H += perf.h
 LIB_H += util/event.h
 LIB_H += util/types.h
diff --git a/tools/perf/util/include/linux/string.h b/tools/perf/util/include/linux/string.h
new file mode 100644
index 0000000..3b2f590
--- /dev/null
+++ b/tools/perf/util/include/linux/string.h
@@ -0,0 +1 @@
+#include <string.h>

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

end of thread, other threads:[~2009-10-24  1:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-19 17:11 [PATCH] perf tools: Add missing tools/perf/util/include/string.h Arnaldo Carvalho de Melo
2009-10-19 17:47 ` Frederic Weisbecker
2009-10-24  1:03 ` [tip:branch?] " tip-bot for Arnaldo Carvalho de Melo

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.