aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2021-05-08 20:50:20 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-05-10 12:01:00 +0000
commitad1237c30d975535a669746496cbed136aa5a045 (patch)
treeebff335ac7245c253c577468f9bd1c2436f9cde3 /tools/perf/scripts/python/net_dropmonitor.py
parentperf session: Fix swapping of cpu_map and stat_config records (diff)
downloadkernel-ad1237c30d975535a669746496cbed136aa5a045.tar.gz
kernel-ad1237c30d975535a669746496cbed136aa5a045.zip
perf tools: Fix dynamic libbpf link
Justin reported broken build with LIBBPF_DYNAMIC=1. When linking libbpf dynamically we need to use perf's hashmap object, because it's not exported in libbpf.so (only in libbpf.a). Following build is now passing: $ make LIBBPF_DYNAMIC=1 BUILD: Doing 'make -j8' parallel build ... $ ldd perf | grep libbpf libbpf.so.0 => /lib64/libbpf.so.0 (0x00007fa7630db000) Fixes: eee19501926d ("perf tools: Grab a copy of libbpf's hashmap") Reported-by: Justin M. Forbes <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions