perf probe: Add probe-finder.h without libdwarf
authorMasami Hiramatsu <[email protected]>
Tue, 1 Dec 2009 00:19:34 +0000 (19:19 -0500)
committerIngo Molnar <[email protected]>
Tue, 1 Dec 2009 07:20:00 +0000 (08:20 +0100)
Add probe-finder.h as LIB_H without libdwarf, because that
header is included even if no libdwarf.

Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: systemtap <[email protected]>
Cc: DLE <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Jim Keniston <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Frank Ch. Eigler <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: K.Prasad <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <20091201001934.10235.44656.stgit@harusame>
Signed-off-by: Ingo Molnar <[email protected]>
tools/perf/Makefile

index f1537a94a05f6e04f5945aeb91786a0a46e2702b..76e4b04d40809f5f2104c308b6f11b133c20fa6a 100644 (file)
@@ -369,6 +369,7 @@ LIB_H += util/sort.h
 LIB_H += util/hist.h
 LIB_H += util/thread.h
 LIB_H += util/data_map.h
+LIB_H += util/probe-finder.h
 
 LIB_OBJS += util/abspath.o
 LIB_OBJS += util/alias.o
@@ -485,7 +486,6 @@ ifneq ($(shell sh -c "(echo '\#include <libdwarf/dwarf.h>'; echo '\#include <lib
        BASIC_CFLAGS += -DNO_LIBDWARF
 else
        EXTLIBS += -lelf -ldwarf
-       LIB_H += util/probe-finder.h
        LIB_OBJS += util/probe-finder.o
 endif