projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf hashmap: Tidy hashmap dependency
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
bpf-loader.c
diff --git
a/tools/perf/util/bpf-loader.c
b/tools/perf/util/bpf-loader.c
index
e2052f4
..
d657594
100644
(file)
--- a/
tools/perf/util/bpf-loader.c
+++ b/
tools/perf/util/bpf-loader.c
@@
-27,7
+27,11
@@
#include "util.h"
#include "llvm-utils.h"
#include "c++/clang-c.h"
-#include "hashmap.h"
+#ifdef HAVE_LIBBPF_SUPPORT
+#include <bpf/hashmap.h>
+#else
+#include "util/hashmap.h"
+#endif
#include "asm/bug.h"
#include <internal/xyarray.h>