aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-inject.c')
-rw-r--r--tools/perf/builtin-inject.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c
index 3beab489afc5..64d8ba2fb7bc 100644
--- a/tools/perf/builtin-inject.c
+++ b/tools/perf/builtin-inject.c
@@ -191,10 +191,13 @@ static int perf_event__inject_buildid(struct perf_tool *tool,
191 * If this fails, too bad, let the other side 191 * If this fails, too bad, let the other side
192 * account this as unresolved. 192 * account this as unresolved.
193 */ 193 */
194 } else 194 } else {
195#ifndef NO_LIBELF_SUPPORT
195 pr_warning("no symbols found in %s, maybe " 196 pr_warning("no symbols found in %s, maybe "
196 "install a debug package?\n", 197 "install a debug package?\n",
197 al.map->dso->long_name); 198 al.map->dso->long_name);
199#endif
200 }
198 } 201 }
199 } 202 }
200 203