mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] perf tools: trivial NO_LIBDWARF build error tools/perf/builtin-probe.c
@ 2010-01-17  4:03 Mike Galbraith
  0 siblings, 0 replies; only message in thread
From: Mike Galbraith @ 2010-01-17  4:03 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Masami Hiramatsu, LKML


perf tools: fix NO_LIBDWARF build error tools/perf/builtin-probe.c

Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>


diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c
index 1d3a99e..9be8063 100644
--- a/tools/perf/builtin-probe.c
+++ b/tools/perf/builtin-probe.c
@@ -118,6 +118,7 @@ static int opt_del_probe_event(const struct option *opt __used,
 	return 0;
 }
 
+#ifndef NO_LIBDWARF
 static int opt_show_lines(const struct option *opt __used,
 			  const char *str, int unset __used)
 {
@@ -127,6 +128,8 @@ static int opt_show_lines(const struct option *opt __used,
 	session.show_lines = true;
 	return 0;
 }
+#endif
+
 /* Currently just checking function name from symbol map */
 static void evaluate_probe_point(struct probe_point *pp)
 {



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-17  4:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-17  4:03 [patch] perf tools: trivial NO_LIBDWARF build error tools/perf/builtin-probe.c Mike Galbraith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome