aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/Build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-06-23 05:43:45 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-23 07:30:41 -0400
commitc3ab0e28a437c213e5e2c1d890f3891b6952b9ca (patch)
tree8246e6614acd941b07c0925dea03b97f3ae1f3a7 /tools/perf/util/Build
parentba1f82456ba8438a8abc96274d57bfe76d34a4a8 (diff)
parent51696f39cbee5bb684e7959c0c98b5f54548aa34 (diff)
Merge branch 'topic/ppc-kvm' of https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux into HEAD
- Support for the H_RPT_INVALIDATE hypercall - Conversion of Book3S entry/exit to C - Bug fixes
Diffstat (limited to 'tools/perf/util/Build')
-rw-r--r--tools/perf/util/Build7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/util/Build b/tools/perf/util/Build
index 8c0d9f368ebc..b64bdc1a7026 100644
--- a/tools/perf/util/Build
+++ b/tools/perf/util/Build
@@ -145,7 +145,14 @@ perf-$(CONFIG_LIBELF) += symbol-elf.o
perf-$(CONFIG_LIBELF) += probe-file.o
perf-$(CONFIG_LIBELF) += probe-event.o
+ifdef CONFIG_LIBBPF_DYNAMIC
+ hashmap := 1
+endif
ifndef CONFIG_LIBBPF
+ hashmap := 1
+endif
+
+ifdef hashmap
perf-y += hashmap.o
endif