BCC源码编译和安装

接前一篇文章:BCC源码下载

1. 进入源码根目录

进入到BCC源码根目录。命令及结果如下:

$ cd bcc
~/eBPF/BCC/bcc$ ls
cmake           CONTRIBUTING-SCRIPTS.md  docs      images         libbpf-tools  man            scripts  src
CMakeLists.txt  debian                   examples  INSTALL.md     LICENSE.txt   QUICKSTART.md  snap     tests
CODEOWNERS      docker                   FAQ.txt   introspection  LINKS.md      README.md      SPECS    tools

2. 配置项目

本步骤参考BCC官网中的指导步骤INSTALL.md,同样也在bcc源码根目录下。

(1)内核配置准备

首先应该确保Linux内核版本是4.1及以后。这一点在BCC介绍中已做过说明,因为BCC使用的大部分内容都需要Linux 4.1及更高版本。

在此基础上,内核配置选项中应该打开以下选项:

CONFIG_BPF=y
CONFIG_BPF_SYSCALL=y
# [optional, for tc filters]
CONFIG_NET_CLS_BPF=m
# [optional, for tc actions]
CONFIG_NET_ACT_BPF=m
CONFIG_BPF_JIT=y
# [for Linux kernel versions 4.1 through 4.6]
CONFIG_HAVE_BPF_JIT=y
# [for Linux kernel versions 4.7 and later]
CONFIG_HAVE_EBPF_JIT=y
# [optional, for kprobes]
CONFIG_BPF_EVENTS=y
# Need kernel headers through /sys/kernel/kheaders.tar.xz
CONFIG_IKHEADERS=y

此外,运行网络相关例程的时候需要以下内核配置:

CONFIG_NET_SCH_SFQ=m
CONFIG_NET_ACT_POLICE=m
CONFIG_NET_ACT_GACT=m
CONFIG_DUMMY=m
CONFIG_VXLAN=m

(2)编译依赖准备

BCC编译所依赖的包如下:

clang llvm libelf-dev libbpf-dev bpfcc-tools libbpfcc-dev binutils-dev pkg-config m4 libelf-dev gcc-multilib libpcap-dev

3. 配置和构建

(1)创建build文件夹

在bcc源码根目下创建build文件夹。命令及结果如下:

~/eBPF/BCC/bcc$ mkdir build
~/eBPF/BCC/bcc$ ls
build           CONTRIBUTING-SCRIPTS.md  examples    introspection  man            snap   tools
cmake           debian                   FAQ.txt     libbpf-tools   QUICKSTART.md  SPECS
CMakeLists.txt  docker                   images      LICENSE.txt    README.md      src
CODEOWNERS      docs                     INSTALL.md  LINKS.md       scripts        tests

(2)进入build文件夹

进入build文件夹。命令及结果如下:

~/eBPF/BCC/bcc$ cd build/
~/eBPF/BCC/bcc/build$

(3)cmake配置

执行cmake命令进行配置。实际命令及结果如下:

~/eBPF/BCC/bcc/build$ cmake ..
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
子模组 'libbpf-tools/blazesym'(https://github.com/libbpf/blazesym)已对路径 'libbpf-tools/blazesym' 注册正克隆到 '/home/penghao/eBPF/BCC/bcc/libbpf-tools/blazesym'...
子模组路径 'libbpf-tools/blazesym':检出 'd954f73867527dc75025802160c759d0b6a0641f'
子模组 'libbpf-tools/bpftool'(https://github.com/libbpf/bpftool)已对路径 'libbpf-tools/bpftool' 注册子模组 'src/cc/libbpf'(https://github.com/libbpf/libbpf.git)已对路径 'src/cc/libbpf' 注册正克隆到 '/home/penghao/eBPF/BCC/bcc/libbpf-tools/bpftool'...
正克隆到 '/home/penghao/eBPF/BCC/bcc/src/cc/libbpf'...
子模组路径 'libbpf-tools/bpftool':检出 '6eb3e20583da834da18ea3011dcefd08b3493f8d'
子模组 'libbpf'(https://github.com/libbpf/libbpf.git)已对路径 'libbpf-tools/bpftool/libbpf' 注册正克隆到 '/home/penghao/eBPF/BCC/bcc/libbpf-tools/bpftool/libbpf'...
子模组路径 'libbpf-tools/bpftool/libbpf':检出 '7984737fbf3b2a14a86321387bb62abb16cfc4ed'
子模组路径 'src/cc/libbpf':检出 '44b0bc9ad70a73cddc3528f12da48cc3520ad060'
-- Latest recognized Git tag is v0.28.0
-- Git HEAD is ec49363e2e9daec026ee6cae4c5fc316f8fab0ff
-- Revision is 0.28.0+ec49363e (major 0, minor 28, patch 0)
-- Performing Test HAVE_NO_PIE_FLAG
-- Performing Test HAVE_NO_PIE_FLAG - Success
-- Performing Test HAVE_REALLOCARRAY_SUPPORT
-- Performing Test HAVE_REALLOCARRAY_SUPPORT - Success
-- Kernel release: 6.1.46-01-perlis001-2
-- Kernel headers: /usr/src/linux-headers-6.1.46-01-perlis001-2
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.12") 
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.14") 
-- Found LLVM: /usr/include 13.0.1 (Use LLVM_ROOT envronment variable for another version of LLVM)
-- Found BISON: /usr/bin/bison (found version "3.8.2") 
-- Found FLEX: /usr/bin/flex (found version "2.6.4") 
-- Found LibElf: /usr/lib/libelf.so  
-- Performing Test ELF_GETSHDRSTRNDX
-- Performing Test ELF_GETSHDRSTRNDX - Success
-- Found LibDebuginfod: /usr/lib/libdebuginfod.so  
-- Found LibLzma: /usr/lib/liblzma.so  
-- Could NOT find LuaJIT (missing: LUAJIT_LIBRARIES LUAJIT_INCLUDE_DIR) 
CMake Warning at tests/python/CMakeLists.txt:6 (message):
  Recommended test program 'arping' not found


CMake Warning at tests/python/CMakeLists.txt:10 (message):
  Recommended test program 'netperf' not found


CMake Warning at tests/python/CMakeLists.txt:16 (message):
  Recommended test program 'iperf' or 'iperf3' not found


-- Configuring done
-- Generating done
-- Build files have been written to: /home/penghao/eBPF/BCC/bcc/build

(4)make编译

执行make命令进行编译。实际命令及结果如下:

~/eBPF/BCC/bcc/build$ make
[  1%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/loader.cc.o
[  1%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/b_frontend_action.cc.o
^[[B[  1%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/tp_frontend_action.cc.o
[  2%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend-objects.dir/kbuild_helper.cc.o
/home/penghao/eBPF/BCC/bcc/src/cc/frontends/clang/kbuild_helper.cc:84:3: 警告:多行注释 [-Wcomment]
   84 |   // USERINCLUDE    := \
      |   ^
/home/penghao/eBPF/BCC/bcc/src/cc/frontends/clang/kbuild_helper.cc:93:3: 警告:多行注释 [-Wcomment]
   93 |   // LINUXINCLUDE    := \
      |   ^
[  2%] Built target clang_frontend-objects
[  2%] Linking CXX static library libclang_frontend.a
[  2%] Built target clang_frontend
[  3%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o
[  3%] Building C object src/cc/CMakeFiles/bpf-static.dir/perf_reader.c.o
[  3%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf.c.o
[  4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/bpf_prog_linfo.c.o
[  4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf.c.o
[  4%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/btf_dump.c.o
[  5%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/gen_loader.c.o
[  5%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/hashmap.c.o
[  5%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_errno.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/libbpf_probes.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/linker.c.o
[  6%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/netlink.c.o
[  7%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/nlattr.c.o
[  7%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/relo_core.c.o
[  7%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/ringbuf.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/str_error.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/strset.c.o
[  8%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/usdt.c.o
[  9%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf/src/zip.c.o
[  9%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/bcc_syms.cc.o
[  9%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_elf.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_perf_map.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_proc.c.o
[ 10%] Building C object src/cc/CMakeFiles/bpf-static.dir/bcc_zip.c.o
[ 10%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/common.cc.o
[ 11%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/usdt/usdt.cc.o
[ 11%] Building CXX object src/cc/CMakeFiles/bpf-static.dir/usdt/usdt_args.cc.o
[ 11%] Linking CXX static library libbcc_bpf.a
[ 11%] Built target bpf-static
[ 12%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o
[ 12%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o
[ 12%] Linking CXX static library libapi-static.a
[ 12%] Built target api-static
[ 12%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o
[ 13%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o
[ 13%] Linking CXX static library libusdt-static.a
[ 13%] Built target usdt-static
[ 13%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/link_all.cc.o
[ 13%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_common.cc.o
[ 13%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module.cc.o
[ 14%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_btf.cc.o
[ 14%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/exported_files.cc.o
[ 14%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_debug.cc.o
[ 15%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpf_module_rw_engine.cc.o
[ 15%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/table_storage.cc.o
[ 15%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/shared_table.cc.o
[ 16%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bpffs_table.cc.o
[ 16%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/json_map_decl_visitor.cc.o
[ 16%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/bcc_syms.cc.o
[ 17%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_elf.c.o
[ 17%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_perf_map.c.o
[ 17%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_proc.c.o
[ 18%] Building C object src/cc/CMakeFiles/bcc-shared.dir/bcc_zip.c.o
[ 18%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o
[ 18%] Linking CXX shared library libbcc.so
[ 18%] Built target bcc-shared
[ 19%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o
[ 19%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o
[ 19%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o
[ 20%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o
[ 20%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_zip.c.o
[ 20%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o
[ 21%] Linking CXX static library libbcc-loader-static.a
[ 21%] Built target bcc-loader-static
[ 21%] Building CXX object src/cc/api/CMakeFiles/api-objects.dir/BPF.cc.o
[ 21%] Building CXX object src/cc/api/CMakeFiles/api-objects.dir/BPFTable.cc.o
[ 21%] Built target api-objects
[ 21%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_common.cc.o
[ 22%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module.cc.o
[ 22%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_btf.cc.o
[ 22%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/exported_files.cc.o
[ 23%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_debug.cc.o
[ 23%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpf_module_rw_engine.cc.o
[ 23%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/table_storage.cc.o
[ 24%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/shared_table.cc.o
[ 24%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bpffs_table.cc.o
[ 24%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/json_map_decl_visitor.cc.o
[ 25%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/common.cc.o
[ 25%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt.cc.o
[ 25%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/usdt/usdt_args.cc.o
[ 25%] Building CXX object src/cc/CMakeFiles/bcc-static.dir/bcc_syms.cc.o
[ 26%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_elf.c.o
[ 26%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_perf_map.c.o
[ 26%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_proc.c.o
[ 27%] Building C object src/cc/CMakeFiles/bcc-static.dir/bcc_zip.c.o
[ 27%] Linking CXX static library libbcc.a
[ 27%] Built target bcc-static
[ 28%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o
[ 28%] Building C object src/cc/CMakeFiles/bpf-shared.dir/perf_reader.c.o
[ 28%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf.c.o
[ 29%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/bpf_prog_linfo.c.o
[ 29%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf.c.o
[ 29%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/btf_dump.c.o
[ 30%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/gen_loader.c.o
[ 30%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/hashmap.c.o
[ 30%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf.c.o
[ 30%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_errno.c.o
[ 31%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/libbpf_probes.c.o
[ 31%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/linker.c.o
[ 31%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/netlink.c.o
[ 32%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/nlattr.c.o
[ 32%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/relo_core.c.o
[ 32%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/ringbuf.c.o
[ 33%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/str_error.c.o
[ 33%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/strset.c.o
[ 33%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/usdt.c.o
[ 34%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf/src/zip.c.o
[ 34%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/bcc_syms.cc.o
[ 34%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_elf.c.o
[ 35%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_perf_map.c.o
[ 35%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_proc.c.o
[ 35%] Building C object src/cc/CMakeFiles/bpf-shared.dir/bcc_zip.c.o
[ 35%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/common.cc.o
[ 36%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt.cc.o
[ 36%] Building CXX object src/cc/CMakeFiles/bpf-shared.dir/usdt/usdt_args.cc.o
[ 36%] Linking CXX shared library libbcc_bpf.so
[ 36%] Built target bpf-shared
[ 36%] Building sdist for python3
running sdist
running egg_info
creating bcc.egg-info
writing bcc.egg-info/PKG-INFO
writing dependency_links to bcc.egg-info/dependency_links.txt
writing top-level names to bcc.egg-info/top_level.txt
writing manifest file 'bcc.egg-info/SOURCES.txt'
reading manifest file 'bcc.egg-info/SOURCES.txt'
writing manifest file 'bcc.egg-info/SOURCES.txt'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md

running check
creating bcc-0.28.0+ec49363e
creating bcc-0.28.0+ec49363e/bcc
creating bcc-0.28.0+ec49363e/bcc.egg-info
copying files to bcc-0.28.0+ec49363e...
copying setup.py -> bcc-0.28.0+ec49363e
copying bcc/__init__.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/containers.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/disassembler.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/libbcc.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/perf.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/syscall.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/table.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/tcp.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/usdt.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/utils.py -> bcc-0.28.0+ec49363e/bcc
copying bcc/version.py -> bcc-0.28.0+ec49363e/bcc
copying bcc.egg-info/PKG-INFO -> bcc-0.28.0+ec49363e/bcc.egg-info
copying bcc.egg-info/SOURCES.txt -> bcc-0.28.0+ec49363e/bcc.egg-info
copying bcc.egg-info/dependency_links.txt -> bcc-0.28.0+ec49363e/bcc.egg-info
copying bcc.egg-info/top_level.txt -> bcc-0.28.0+ec49363e/bcc.egg-info
Writing bcc-0.28.0+ec49363e/setup.cfg
creating dist
Creating tar archive
removing 'bcc-0.28.0+ec49363e' (and everything under it)
[ 36%] Built target bcc_py_python3
[ 37%] Building C object introspection/CMakeFiles/bps.dir/bps.c.o
[ 37%] Linking CXX executable bps
[ 37%] Built target bps
[ 37%] Building CXX object examples/cpp/CMakeFiles/CGroupTest.dir/CGroupTest.cc.o
[ 37%] Linking CXX executable CGroupTest
[ 37%] Built target CGroupTest
[ 37%] Building CXX object examples/cpp/CMakeFiles/CPUDistribution.dir/CPUDistribution.cc.o
[ 38%] Linking CXX executable CPUDistribution
[ 38%] Built target CPUDistribution
[ 38%] Building CXX object examples/cpp/CMakeFiles/FollyRequestContextSwitch.dir/FollyRequestContextSwitch.cc.o
[ 38%] Linking CXX executable FollyRequestContextSwitch
[ 38%] Built target FollyRequestContextSwitch
[ 39%] Building CXX object examples/cpp/CMakeFiles/HelloWorld.dir/HelloWorld.cc.o
[ 39%] Linking CXX executable HelloWorld
[ 39%] Built target HelloWorld
[ 39%] Building CXX object examples/cpp/CMakeFiles/KFuncExample.dir/KFuncExample.cc.o
[ 40%] Linking CXX executable KFuncExample
[ 40%] Built target KFuncExample
[ 40%] Building CXX object examples/cpp/CMakeFiles/KModRetExample.dir/KModRetExample.cc.o
[ 40%] Linking CXX executable KModRetExample
[ 40%] Built target KModRetExample
[ 41%] Building CXX object examples/cpp/CMakeFiles/LLCStat.dir/LLCStat.cc.o
[ 41%] Linking CXX executable LLCStat
[ 41%] Built target LLCStat
[ 41%] Building CXX object examples/cpp/CMakeFiles/RandomRead.dir/RandomRead.cc.o
[ 42%] Linking CXX executable RandomRead
[ 42%] Built target RandomRead
[ 42%] Building CXX object examples/cpp/CMakeFiles/RecordMySQLQuery.dir/RecordMySQLQuery.cc.o
[ 42%] Linking CXX executable RecordMySQLQuery
[ 42%] Built target RecordMySQLQuery
[ 43%] Building CXX object examples/cpp/CMakeFiles/SkLocalStorageIterator.dir/SkLocalStorageIterator.cc.o
[ 43%] Linking CXX executable SkLocalStorageIterator
[ 43%] Built target SkLocalStorageIterator
[ 43%] Building CXX object examples/cpp/CMakeFiles/TCPSendStack.dir/TCPSendStack.cc.o
[ 44%] Linking CXX executable TCPSendStack
[ 44%] Built target TCPSendStack
[ 44%] Building CXX object examples/cpp/CMakeFiles/TaskIterator.dir/TaskIterator.cc.o
[ 44%] Linking CXX executable TaskIterator
[ 44%] Built target TaskIterator
[ 44%] Building CXX object examples/cpp/CMakeFiles/UseExternalMap.dir/UseExternalMap.cc.o
[ 45%] Linking CXX executable UseExternalMap
[ 45%] Built target UseExternalMap
[ 45%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerf.cc.o
[ 45%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerfUtil.cc.o
[ 46%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerfBPFProgram.cc.o
[ 46%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerfLoggingHelper.cc.o
[ 46%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/PyPerfDefaultPrinter.cc.o
[ 47%] Building CXX object examples/cpp/pyperf/CMakeFiles/PyPerf.dir/Py36Offsets.cc.o
[ 47%] Linking CXX executable PyPerf
[ 47%] Built target PyPerf
[ 47%] Generating argdist.8.gz
[ 47%] Generating bashreadline.8.gz
[ 48%] Generating bindsnoop.8.gz
[ 48%] Generating biolatency.8.gz
[ 48%] Generating biolatpcts.8.gz
[ 49%] Generating biopattern.8.gz
[ 49%] Generating biosnoop.8.gz
[ 49%] Generating biotop.8.gz
[ 50%] Generating bitesize.8.gz
[ 50%] Generating bpflist.8.gz
[ 50%] Generating bps.8.gz
[ 51%] Generating btrfsdist.8.gz
[ 51%] Generating btrfsslower.8.gz
[ 51%] Generating cachestat.8.gz
[ 52%] Generating cachetop.8.gz
[ 52%] Generating capable.8.gz
[ 52%] Generating cobjnew.8.gz
[ 52%] Generating compactsnoop.8.gz
[ 53%] Generating cpudist.8.gz
[ 53%] Generating cpuunclaimed.8.gz
[ 53%] Generating criticalstat.8.gz
[ 54%] Generating cthreads.8.gz
[ 54%] Generating dbslower.8.gz
[ 54%] Generating dbstat.8.gz
[ 55%] Generating dcsnoop.8.gz
[ 55%] Generating dcstat.8.gz
[ 55%] Generating deadlock.8.gz
[ 56%] Generating dirtop.8.gz
[ 56%] Generating drsnoop.8.gz
[ 56%] Generating execsnoop.8.gz
[ 57%] Generating exitsnoop.8.gz
[ 57%] Generating ext4dist.8.gz
[ 57%] Generating ext4slower.8.gz
[ 57%] Generating filegone.8.gz
[ 58%] Generating filelife.8.gz
[ 58%] Generating fileslower.8.gz
[ 58%] Generating filetop.8.gz
[ 59%] Generating funccount.8.gz
[ 59%] Generating funcinterval.8.gz
[ 59%] Generating funclatency.8.gz
[ 60%] Generating funcslower.8.gz
[ 60%] Generating gethostlatency.8.gz
[ 60%] Generating hardirqs.8.gz
[ 61%] Generating inject.8.gz
[ 61%] Generating javacalls.8.gz
[ 61%] Generating javaflow.8.gz
[ 61%] Generating javagc.8.gz
[ 62%] Generating javaobjnew.8.gz
[ 62%] Generating javastat.8.gz
[ 62%] Generating javathreads.8.gz
[ 63%] Generating killsnoop.8.gz
[ 63%] Generating klockstat.8.gz
[ 63%] Generating ksnoop.8.gz
[ 64%] Generating kvmexit.8.gz
[ 64%] Generating llcstat.8.gz
[ 64%] Generating mdflush.8.gz
[ 65%] Generating memleak.8.gz
[ 65%] Generating mountsnoop.8.gz
[ 65%] Generating mysqld_qslower.8.gz
[ 66%] Generating netqtop.8.gz
[ 66%] Generating nfsdist.8.gz
[ 66%] Generating nfsslower.8.gz
[ 66%] Generating nodegc.8.gz
[ 67%] Generating nodestat.8.gz
[ 67%] Generating offcputime.8.gz
[ 67%] Generating offwaketime.8.gz
[ 68%] Generating oomkill.8.gz
[ 68%] Generating opensnoop.8.gz
[ 68%] Generating perlcalls.8.gz
[ 69%] Generating perlflow.8.gz
[ 69%] Generating perlstat.8.gz
[ 69%] Generating phpcalls.8.gz
[ 70%] Generating phpflow.8.gz
[ 70%] Generating phpstat.8.gz
[ 70%] Generating pidpersec.8.gz
[ 71%] Generating ppchcalls.8.gz
[ 71%] Generating profile.8.gz
[ 71%] Generating pythoncalls.8.gz
[ 71%] Generating pythonflow.8.gz
[ 72%] Generating pythongc.8.gz
[ 72%] Generating pythonstat.8.gz
[ 72%] Generating rdmaucma.8.gz
[ 73%] Generating readahead.8.gz
[ 73%] Generating reset-trace.8.gz
[ 73%] Generating rubycalls.8.gz
[ 74%] Generating rubyflow.8.gz
[ 74%] Generating rubygc.8.gz
[ 74%] Generating rubyobjnew.8.gz
[ 75%] Generating rubystat.8.gz
[ 75%] Generating runqlat.8.gz
[ 75%] Generating runqlen.8.gz
[ 76%] Generating runqslower.8.gz
[ 76%] Generating shmsnoop.8.gz
[ 76%] Generating slabratetop.8.gz
[ 76%] Generating sofdsnoop.8.gz
[ 77%] Generating softirqs.8.gz
[ 77%] Generating solisten.8.gz
[ 77%] Generating spfdsnoop.8.gz
[ 78%] Generating sslsniff.8.gz
[ 78%] Generating stackcount.8.gz
[ 78%] Generating statsnoop.8.gz
[ 79%] Generating swapin.8.gz
[ 79%] Generating syncsnoop.8.gz
[ 79%] Generating syscount.8.gz
[ 80%] Generating tclcalls.8.gz
[ 80%] Generating tclflow.8.gz
[ 80%] Generating tclobjnew.8.gz
[ 80%] Generating tclstat.8.gz
[ 81%] Generating tcpaccept.8.gz
[ 81%] Generating tcpcong.8.gz
[ 81%] Generating tcpconnect.8.gz
[ 82%] Generating tcpconnlat.8.gz
[ 82%] Generating tcpdrop.8.gz
[ 82%] Generating tcplife.8.gz
[ 83%] Generating tcpretrans.8.gz
[ 83%] Generating tcprtt.8.gz
[ 83%] Generating tcpstates.8.gz
[ 84%] Generating tcpsubnet.8.gz
[ 84%] Generating tcpsynbl.8.gz
[ 84%] Generating tcptop.8.gz
[ 85%] Generating tcptracer.8.gz
[ 85%] Generating threadsnoop.8.gz
[ 85%] Generating tplist.8.gz
[ 85%] Generating trace.8.gz
[ 86%] Generating ttysnoop.8.gz
[ 86%] Generating ucalls.8.gz
[ 86%] Generating uflow.8.gz
[ 87%] Generating ugc.8.gz
[ 87%] Generating uobjnew.8.gz
[ 87%] Generating ustat.8.gz
[ 88%] Generating uthreads.8.gz
[ 88%] Generating vfscount.8.gz
[ 88%] Generating vfsstat.8.gz
[ 89%] Generating virtiostat.8.gz
[ 89%] Generating wakeuptime.8.gz
[ 89%] Generating xfsdist.8.gz
[ 90%] Generating xfsslower.8.gz
[ 90%] Generating zfsdist.8.gz
[ 90%] Generating zfsslower.8.gz
[ 90%] Built target man
[ 91%] Building C object tests/cc/CMakeFiles/test_static.dir/test_static.c.o
[ 91%] Linking CXX executable test_static
[ 91%] Built target test_static
[ 91%] Building CXX object tests/cc/CMakeFiles/usdt_test_lib.dir/usdt_test_lib.cc.o
[ 92%] Linking CXX shared library libusdt_test_lib.so
[ 92%] Built target usdt_test_lib
[ 92%] Building CXX object tests/cc/CMakeFiles/debuginfo_test_lib.dir/debuginfo_test_lib.cc.o
[ 93%] Linking CXX shared library libdebuginfo_test_lib.so
[ 93%] Built target debuginfo_test_lib
[ 94%] Generating archive.zip
  adding: libdebuginfo_test_lib.so (stored 0%)
  adding: zip_subdir/file.txt (stored 0%)
[ 94%] Built target zip_archive
[ 94%] Generating debuginfo.so
[ 94%] Built target debuginfo
[ 94%] Generating with_gnu_debuglink.so
[ 94%] Built target with_gnu_debuglink
[ 94%] Generating debuginfo.so.xz
[ 94%] Built target debuginfo_xz
[ 94%] Generating with_gnu_debugdata.so
[ 94%] Built target with_gnu_debugdata
[ 94%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_libbcc.cc.o
[ 95%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_c_api.cc.o
[ 95%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_array_table.cc.o
[ 95%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_bpf_table.cc.o
[ 96%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_cg_storage.cc.o
[ 96%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_hash_table.cc.o
[ 96%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_map_in_map.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_perf_event.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_pinned_table.cc.o
[ 97%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_prog_table.cc.o
[ 98%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_queuestack_table.cc.o
[ 98%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_shared_table.cc.o
[ 98%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sk_storage.cc.o
[ 99%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_sock_table.cc.o
[ 99%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_args.cc.o
[ 99%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_usdt_probes.cc.o
[ 99%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/utils.cc.o
[100%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_parse_tracepoint.cc.o
[100%] Building CXX object tests/cc/CMakeFiles/test_libbcc.dir/test_zip.cc.o
[100%] Linking CXX executable test_libbcc
[100%] Built target test_libbcc

(5)安装

通过make install命令进行安装。实际命令及结果如下:

~/eBPF/BCC/bcc/build$ sudo make install
Consolidate compiler generated dependencies of target clang_frontend-objects
[  2%] Built target clang_frontend-objects
[  2%] Built target clang_frontend
Consolidate compiler generated dependencies of target bpf-static
[ 11%] Built target bpf-static
Consolidate compiler generated dependencies of target api-static
[ 12%] Built target api-static
Consolidate compiler generated dependencies of target usdt-static
[ 13%] Built target usdt-static
Consolidate compiler generated dependencies of target bcc-shared
[ 18%] Built target bcc-shared
Consolidate compiler generated dependencies of target bcc-loader-static
[ 21%] Built target bcc-loader-static
Consolidate compiler generated dependencies of target api-objects
[ 21%] Built target api-objects
Consolidate compiler generated dependencies of target bcc-static
[ 27%] Built target bcc-static
Consolidate compiler generated dependencies of target bpf-shared
[ 36%] Built target bpf-shared
[ 36%] Built target bcc_py_python3
Consolidate compiler generated dependencies of target bps
[ 37%] Built target bps
Consolidate compiler generated dependencies of target CGroupTest
[ 37%] Built target CGroupTest
Consolidate compiler generated dependencies of target CPUDistribution
[ 38%] Built target CPUDistribution
Consolidate compiler generated dependencies of target FollyRequestContextSwitch
[ 38%] Built target FollyRequestContextSwitch
Consolidate compiler generated dependencies of target HelloWorld
[ 39%] Built target HelloWorld
Consolidate compiler generated dependencies of target KFuncExample
[ 40%] Built target KFuncExample
Consolidate compiler generated dependencies of target KModRetExample
[ 40%] Built target KModRetExample
Consolidate compiler generated dependencies of target LLCStat
[ 41%] Built target LLCStat
Consolidate compiler generated dependencies of target RandomRead
[ 42%] Built target RandomRead
Consolidate compiler generated dependencies of target RecordMySQLQuery
[ 42%] Built target RecordMySQLQuery
Consolidate compiler generated dependencies of target SkLocalStorageIterator
[ 43%] Built target SkLocalStorageIterator
Consolidate compiler generated dependencies of target TCPSendStack
[ 44%] Built target TCPSendStack
Consolidate compiler generated dependencies of target TaskIterator
[ 44%] Built target TaskIterator
Consolidate compiler generated dependencies of target UseExternalMap
[ 45%] Built target UseExternalMap
Consolidate compiler generated dependencies of target PyPerf
[ 47%] Built target PyPerf
[ 90%] Built target man
Consolidate compiler generated dependencies of target test_static
[ 91%] Built target test_static
Consolidate compiler generated dependencies of target usdt_test_lib
[ 92%] Built target usdt_test_lib
Consolidate compiler generated dependencies of target debuginfo_test_lib
[ 93%] Built target debuginfo_test_lib
[ 94%] Built target zip_archive
[ 94%] Built target debuginfo
[ 94%] Built target with_gnu_debuglink
[ 94%] Built target debuginfo_xz
[ 94%] Built target with_gnu_debugdata
Consolidate compiler generated dependencies of target test_libbcc
[100%] Built target test_libbcc
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/lib/libbcc.so.0.28.0
-- Installing: /usr/lib/libbcc.so.0
-- Installing: /usr/lib/libbcc.so
-- Installing: /usr/lib/libbcc.a
-- Installing: /usr/lib/libbcc-loader-static.a
-- Installing: /usr/lib/libbcc_bpf.a
-- Installing: /usr/include/bcc/file_desc.h
-- Installing: /usr/include/bcc/table_desc.h
-- Installing: /usr/include/bcc/table_storage.h
-- Installing: /usr/include/bcc/bcc_common.h
-- Installing: /usr/include/bcc/bpf_module.h
-- Installing: /usr/include/bcc/bcc_exception.h
-- Installing: /usr/include/bcc/bcc_syms.h
-- Installing: /usr/include/bcc/bcc_proc.h
-- Installing: /usr/include/bcc/bcc_elf.h
-- Installing: /usr/include/bcc/bcc_usdt.h
-- Installing: /usr/include/bcc/compat/linux
-- Installing: /usr/include/bcc/compat/linux/if_link.h
-- Installing: /usr/include/bcc/compat/linux/if_xdp.h
-- Installing: /usr/include/bcc/compat/linux/pkt_sched.h
-- Installing: /usr/include/bcc/compat/linux/perf_event.h
-- Installing: /usr/include/bcc/compat/linux/bpf.h
-- Installing: /usr/include/bcc/compat/linux/netlink.h
-- Installing: /usr/include/bcc/compat/linux/btf.h
-- Installing: /usr/include/bcc/compat/linux/bpf_common.h
-- Installing: /usr/include/bcc/compat/linux/pkt_cls.h
-- Installing: /usr/include/bcc/compat/linux/openat2.h
-- Installing: /usr/include/bcc/compat/linux/netdev.h
-- Installing: /usr/include/bcc/compat/linux/fcntl.h
-- Installing: /usr/lib/pkgconfig/libbcc.pc
-- Installing: /usr/include/bcc/libbpf.h
-- Installing: /usr/include/bcc/perf_reader.h
-- Installing: /usr/include/bcc/bcc_version.h
-- Installing: /usr/lib/libbcc_bpf.so.0.28.0
-- Installing: /usr/lib/libbcc_bpf.so.0
-- Installing: /usr/lib/libbcc_bpf.so
-- Installing: /usr/include/bcc/BPF.h
-- Installing: /usr/include/bcc/BPFTable.h
running install
/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
running bdist_egg
running egg_info
writing bcc.egg-info/PKG-INFO
writing dependency_links to bcc.egg-info/dependency_links.txt
writing top-level names to bcc.egg-info/top_level.txt
reading manifest file 'bcc.egg-info/SOURCES.txt'
writing manifest file 'bcc.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/bcc
copying bcc/tcp.py -> build/lib/bcc
copying bcc/containers.py -> build/lib/bcc
copying bcc/utils.py -> build/lib/bcc
copying bcc/syscall.py -> build/lib/bcc
copying bcc/perf.py -> build/lib/bcc
copying bcc/disassembler.py -> build/lib/bcc
copying bcc/usdt.py -> build/lib/bcc
copying bcc/version.py -> build/lib/bcc
copying bcc/table.py -> build/lib/bcc
copying bcc/libbcc.py -> build/lib/bcc
copying bcc/__init__.py -> build/lib/bcc
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/tcp.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/containers.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/utils.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/syscall.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/perf.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/disassembler.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/usdt.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/version.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/table.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/libbcc.py -> build/bdist.linux-x86_64/egg/bcc
copying build/lib/bcc/__init__.py -> build/bdist.linux-x86_64/egg/bcc
byte-compiling build/bdist.linux-x86_64/egg/bcc/tcp.py to tcp.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/containers.py to containers.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/utils.py to utils.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/syscall.py to syscall.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/perf.py to perf.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/disassembler.py to disassembler.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/usdt.py to usdt.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/version.py to version.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/table.py to table.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/libbcc.py to libbcc.cpython-311.pyc
byte-compiling build/bdist.linux-x86_64/egg/bcc/__init__.py to __init__.cpython-311.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying bcc.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bcc.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bcc.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying bcc.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/bcc-0.28.0+ec49363e-py3.11.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing bcc-0.28.0+ec49363e-py3.11.egg
Copying bcc-0.28.0+ec49363e-py3.11.egg to /usr/lib/python3.11/site-packages
Adding bcc 0.28.0+ec49363e to easy-install.pth file

Installed /usr/lib/python3.11/site-packages/bcc-0.28.0+ec49363e-py3.11.egg
Processing dependencies for bcc==0.28.0+ec49363e
Finished processing dependencies for bcc==0.28.0+ec49363e
writing list of installed files to '/home/penghao/eBPF/BCC/bcc/build/install_manifest_python_bcc.txt'
-- Installing: /usr/share/bcc/introspection/bps
-- Installing: /usr/share/bcc/examples/hello_world.py
-- Installing: /usr/share/bcc/examples/lua/bashreadline.c
-- Installing: /usr/share/bcc/examples/lua/bashreadline.lua
-- Installing: /usr/share/bcc/examples/lua/kprobe-latency.lua
-- Installing: /usr/share/bcc/examples/lua/kprobe-write.lua
-- Installing: /usr/share/bcc/examples/lua/memleak.lua
-- Installing: /usr/share/bcc/examples/lua/offcputime.lua
-- Installing: /usr/share/bcc/examples/lua/sock-parse-dns.lua
-- Installing: /usr/share/bcc/examples/lua/sock-parse-http.lua
-- Installing: /usr/share/bcc/examples/lua/sock-proto.lua
-- Installing: /usr/share/bcc/examples/lua/sock-protolen.lua
-- Installing: /usr/share/bcc/examples/lua/strlen_count.lua
-- Installing: /usr/share/bcc/examples/lua/task_switch.lua
-- Installing: /usr/share/bcc/examples/lua/tracepoint-offcputime.lua
-- Installing: /usr/share/bcc/examples/lua/uprobe-readline-perf.lua
-- Installing: /usr/share/bcc/examples/lua/uprobe-readline.lua
-- Installing: /usr/share/bcc/examples/lua/uprobe-tailkt.lua
-- Installing: /usr/share/bcc/examples/lua/usdt_ruby.lua
-- Installing: /usr/share/bcc/examples/networking/simulation.py
-- Installing: /usr/share/bcc/examples/networking/simple_tc.py
-- Installing: /usr/share/bcc/examples/networking/tc_perf_event.py
-- Installing: /usr/share/bcc/examples/networking/net_monitor.py
-- Installing: /usr/share/bcc/examples/networking/sockmap.py
-- Installing: /usr/share/bcc/examples/networking/distributed_bridge/simulation.py
-- Installing: /usr/share/bcc/examples/networking/distributed_bridge/tunnel.c
-- Installing: /usr/share/bcc/examples/networking/distributed_bridge/tunnel_mesh.c
-- Installing: /usr/share/bcc/examples/networking/distributed_bridge/main.py
-- Installing: /usr/share/bcc/examples/networking/distributed_bridge/tunnel_mesh.py
-- Installing: /usr/share/bcc/examples/networking/distributed_bridge/tunnel.py
-- Installing: /usr/share/bcc/examples/networking/neighbor_sharing/README.txt
-- Installing: /usr/share/bcc/examples/networking/neighbor_sharing/simulation.py
-- Installing: /usr/share/bcc/examples/networking/neighbor_sharing/tc_neighbor_sharing.c
-- Installing: /usr/share/bcc/examples/networking/neighbor_sharing/tc_neighbor_sharing.py
-- Installing: /usr/share/bcc/examples/networking/vlan_learning/README.txt
-- Installing: /usr/share/bcc/examples/networking/vlan_learning/simulation.py
-- Installing: /usr/share/bcc/examples/networking/vlan_learning/vlan_learning.c
-- Installing: /usr/share/bcc/examples/networking/vlan_learning/vlan_learning.py
-- Installing: /usr/share/bcc/examples/networking/tunnel_monitor/README.md
-- Installing: /usr/share/bcc/examples/networking/tunnel_monitor/chord.png
-- Installing: /usr/share/bcc/examples/networking/tunnel_monitor/monitor.c
-- Installing: /usr/share/bcc/examples/networking/tunnel_monitor/simulation.py
-- Installing: /usr/share/bcc/examples/networking/tunnel_monitor/vxlan.jpg
-- Installing: /usr/share/bcc/examples/networking/tunnel_monitor/main.py
-- Installing: /usr/share/bcc/examples/networking/tunnel_monitor/monitor.py
-- Installing: /usr/share/bcc/examples/networking/tunnel_monitor/setup.sh
-- Installing: /usr/share/bcc/examples/networking/tunnel_monitor/traffic.sh
-- Installing: /usr/share/bcc/examples/networking/http_filter/http-parse-complete.c
-- Installing: /usr/share/bcc/examples/networking/http_filter/http-parse-simple.c
-- Installing: /usr/share/bcc/examples/networking/http_filter/README.md
-- Installing: /usr/share/bcc/examples/networking/http_filter/http-parse-complete.py
-- Installing: /usr/share/bcc/examples/networking/http_filter/http-parse-simple.py
-- Installing: /usr/share/bcc/examples/networking/xdp/xdp_drop_count.py
-- Installing: /usr/share/bcc/examples/networking/xdp/xdp_macswap_count.py
-- Installing: /usr/share/bcc/examples/networking/xdp/xdp_redirect_cpu.py
-- Installing: /usr/share/bcc/examples/networking/xdp/xdp_redirect_map.py
-- Installing: /usr/share/bcc/examples/tracing/biolatpcts.py
-- Installing: /usr/share/bcc/examples/tracing/bitehist.py
-- Installing: /usr/share/bcc/examples/tracing/dddos.py
-- Installing: /usr/share/bcc/examples/tracing/disksnoop.py
-- Installing: /usr/share/bcc/examples/tracing/hello_fields.py
-- Installing: /usr/share/bcc/examples/tracing/hello_perf_output.py
-- Installing: /usr/share/bcc/examples/tracing/hello_perf_output_using_ns.py
-- Installing: /usr/share/bcc/examples/tracing/kvm_hypercall.py
-- Installing: /usr/share/bcc/examples/tracing/mallocstacks.py
-- Installing: /usr/share/bcc/examples/tracing/mysqld_query.py
-- Installing: /usr/share/bcc/examples/tracing/nflatency.py
-- Installing: /usr/share/bcc/examples/tracing/nodejs_http_server.py
-- Installing: /usr/share/bcc/examples/tracing/stack_buildid_example.py
-- Installing: /usr/share/bcc/examples/tracing/stacksnoop.py
-- Installing: /usr/share/bcc/examples/tracing/strlen_count.py
-- Installing: /usr/share/bcc/examples/tracing/strlen_hist.py
-- Installing: /usr/share/bcc/examples/tracing/strlen_hist_ifunc.py
-- Installing: /usr/share/bcc/examples/tracing/strlen_snoop.py
-- Installing: /usr/share/bcc/examples/tracing/sync_timing.py
-- Installing: /usr/share/bcc/examples/tracing/task_switch.py
-- Installing: /usr/share/bcc/examples/tracing/tcpv4connect.py
-- Installing: /usr/share/bcc/examples/tracing/trace_fields.py
-- Installing: /usr/share/bcc/examples/tracing/trace_perf_output.py
-- Installing: /usr/share/bcc/examples/tracing/undump.py
-- Installing: /usr/share/bcc/examples/tracing/urandomread-explicit.py
-- Installing: /usr/share/bcc/examples/tracing/urandomread.py
-- Installing: /usr/share/bcc/examples/tracing/vfsreadlat.py
-- Installing: /usr/share/bcc/examples/tracing/task_switch.c
-- Installing: /usr/share/bcc/examples/tracing/vfsreadlat.c
-- Installing: /usr/share/bcc/examples/tracing/CMakeLists.txt
-- Installing: /usr/share/bcc/examples/tracing/biolatpcts_example.txt
-- Installing: /usr/share/bcc/examples/tracing/bitehist_example.txt
-- Installing: /usr/share/bcc/examples/tracing/dddos_example.txt
-- Installing: /usr/share/bcc/examples/tracing/disksnoop_example.txt
-- Installing: /usr/share/bcc/examples/tracing/kvm_hypercall.txt
-- Installing: /usr/share/bcc/examples/tracing/mysqld_query_example.txt
-- Installing: /usr/share/bcc/examples/tracing/nodejs_http_server_example.txt
-- Installing: /usr/share/bcc/examples/tracing/stacksnoop_example.txt
-- Installing: /usr/share/bcc/examples/tracing/tcpv4connect_example.txt
-- Installing: /usr/share/bcc/examples/tracing/undump_example.txt
-- Installing: /usr/share/bcc/examples/tracing/urandomread_example.txt
-- Installing: /usr/share/bcc/examples/tracing/vfsreadlat_example.txt
-- Installing: /usr/share/bcc/man/man8/argdist.8.gz
-- Installing: /usr/share/bcc/man/man8/bashreadline.8.gz
-- Installing: /usr/share/bcc/man/man8/bindsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/biolatency.8.gz
-- Installing: /usr/share/bcc/man/man8/biolatpcts.8.gz
-- Installing: /usr/share/bcc/man/man8/biopattern.8.gz
-- Installing: /usr/share/bcc/man/man8/biosnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/biotop.8.gz
-- Installing: /usr/share/bcc/man/man8/bitesize.8.gz
-- Installing: /usr/share/bcc/man/man8/bpflist.8.gz
-- Installing: /usr/share/bcc/man/man8/bps.8.gz
-- Installing: /usr/share/bcc/man/man8/btrfsdist.8.gz
-- Installing: /usr/share/bcc/man/man8/btrfsslower.8.gz
-- Installing: /usr/share/bcc/man/man8/cachestat.8.gz
-- Installing: /usr/share/bcc/man/man8/cachetop.8.gz
-- Installing: /usr/share/bcc/man/man8/capable.8.gz
-- Installing: /usr/share/bcc/man/man8/cobjnew.8.gz
-- Installing: /usr/share/bcc/man/man8/compactsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/cpudist.8.gz
-- Installing: /usr/share/bcc/man/man8/cpuunclaimed.8.gz
-- Installing: /usr/share/bcc/man/man8/criticalstat.8.gz
-- Installing: /usr/share/bcc/man/man8/cthreads.8.gz
-- Installing: /usr/share/bcc/man/man8/dbslower.8.gz
-- Installing: /usr/share/bcc/man/man8/dbstat.8.gz
-- Installing: /usr/share/bcc/man/man8/dcsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/dcstat.8.gz
-- Installing: /usr/share/bcc/man/man8/deadlock.8.gz
-- Installing: /usr/share/bcc/man/man8/dirtop.8.gz
-- Installing: /usr/share/bcc/man/man8/drsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/execsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/exitsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/ext4dist.8.gz
-- Installing: /usr/share/bcc/man/man8/ext4slower.8.gz
-- Installing: /usr/share/bcc/man/man8/filegone.8.gz
-- Installing: /usr/share/bcc/man/man8/filelife.8.gz
-- Installing: /usr/share/bcc/man/man8/fileslower.8.gz
-- Installing: /usr/share/bcc/man/man8/filetop.8.gz
-- Installing: /usr/share/bcc/man/man8/funccount.8.gz
-- Installing: /usr/share/bcc/man/man8/funcinterval.8.gz
-- Installing: /usr/share/bcc/man/man8/funclatency.8.gz
-- Installing: /usr/share/bcc/man/man8/funcslower.8.gz
-- Installing: /usr/share/bcc/man/man8/gethostlatency.8.gz
-- Installing: /usr/share/bcc/man/man8/hardirqs.8.gz
-- Installing: /usr/share/bcc/man/man8/inject.8.gz
-- Installing: /usr/share/bcc/man/man8/javacalls.8.gz
-- Installing: /usr/share/bcc/man/man8/javaflow.8.gz
-- Installing: /usr/share/bcc/man/man8/javagc.8.gz
-- Installing: /usr/share/bcc/man/man8/javaobjnew.8.gz
-- Installing: /usr/share/bcc/man/man8/javastat.8.gz
-- Installing: /usr/share/bcc/man/man8/javathreads.8.gz
-- Installing: /usr/share/bcc/man/man8/killsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/klockstat.8.gz
-- Installing: /usr/share/bcc/man/man8/ksnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/kvmexit.8.gz
-- Installing: /usr/share/bcc/man/man8/llcstat.8.gz
-- Installing: /usr/share/bcc/man/man8/mdflush.8.gz
-- Installing: /usr/share/bcc/man/man8/memleak.8.gz
-- Installing: /usr/share/bcc/man/man8/mountsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/mysqld_qslower.8.gz
-- Installing: /usr/share/bcc/man/man8/netqtop.8.gz
-- Installing: /usr/share/bcc/man/man8/nfsdist.8.gz
-- Installing: /usr/share/bcc/man/man8/nfsslower.8.gz
-- Installing: /usr/share/bcc/man/man8/nodegc.8.gz
-- Installing: /usr/share/bcc/man/man8/nodestat.8.gz
-- Installing: /usr/share/bcc/man/man8/offcputime.8.gz
-- Installing: /usr/share/bcc/man/man8/offwaketime.8.gz
-- Installing: /usr/share/bcc/man/man8/oomkill.8.gz
-- Installing: /usr/share/bcc/man/man8/opensnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/perlcalls.8.gz
-- Installing: /usr/share/bcc/man/man8/perlflow.8.gz
-- Installing: /usr/share/bcc/man/man8/perlstat.8.gz
-- Installing: /usr/share/bcc/man/man8/phpcalls.8.gz
-- Installing: /usr/share/bcc/man/man8/phpflow.8.gz
-- Installing: /usr/share/bcc/man/man8/phpstat.8.gz
-- Installing: /usr/share/bcc/man/man8/pidpersec.8.gz
-- Installing: /usr/share/bcc/man/man8/ppchcalls.8.gz
-- Installing: /usr/share/bcc/man/man8/profile.8.gz
-- Installing: /usr/share/bcc/man/man8/pythoncalls.8.gz
-- Installing: /usr/share/bcc/man/man8/pythonflow.8.gz
-- Installing: /usr/share/bcc/man/man8/pythongc.8.gz
-- Installing: /usr/share/bcc/man/man8/pythonstat.8.gz
-- Installing: /usr/share/bcc/man/man8/rdmaucma.8.gz
-- Installing: /usr/share/bcc/man/man8/readahead.8.gz
-- Installing: /usr/share/bcc/man/man8/reset-trace.8.gz
-- Installing: /usr/share/bcc/man/man8/rubycalls.8.gz
-- Installing: /usr/share/bcc/man/man8/rubyflow.8.gz
-- Installing: /usr/share/bcc/man/man8/rubygc.8.gz
-- Installing: /usr/share/bcc/man/man8/rubyobjnew.8.gz
-- Installing: /usr/share/bcc/man/man8/rubystat.8.gz
-- Installing: /usr/share/bcc/man/man8/runqlat.8.gz
-- Installing: /usr/share/bcc/man/man8/runqlen.8.gz
-- Installing: /usr/share/bcc/man/man8/runqslower.8.gz
-- Installing: /usr/share/bcc/man/man8/shmsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/slabratetop.8.gz
-- Installing: /usr/share/bcc/man/man8/sofdsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/softirqs.8.gz
-- Installing: /usr/share/bcc/man/man8/solisten.8.gz
-- Installing: /usr/share/bcc/man/man8/spfdsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/sslsniff.8.gz
-- Installing: /usr/share/bcc/man/man8/stackcount.8.gz
-- Installing: /usr/share/bcc/man/man8/statsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/swapin.8.gz
-- Installing: /usr/share/bcc/man/man8/syncsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/syscount.8.gz
-- Installing: /usr/share/bcc/man/man8/tclcalls.8.gz
-- Installing: /usr/share/bcc/man/man8/tclflow.8.gz
-- Installing: /usr/share/bcc/man/man8/tclobjnew.8.gz
-- Installing: /usr/share/bcc/man/man8/tclstat.8.gz
-- Installing: /usr/share/bcc/man/man8/tcpaccept.8.gz
-- Installing: /usr/share/bcc/man/man8/tcpcong.8.gz
-- Installing: /usr/share/bcc/man/man8/tcpconnect.8.gz
-- Installing: /usr/share/bcc/man/man8/tcpconnlat.8.gz
-- Installing: /usr/share/bcc/man/man8/tcpdrop.8.gz
-- Installing: /usr/share/bcc/man/man8/tcplife.8.gz
-- Installing: /usr/share/bcc/man/man8/tcpretrans.8.gz
-- Installing: /usr/share/bcc/man/man8/tcprtt.8.gz
-- Installing: /usr/share/bcc/man/man8/tcpstates.8.gz
-- Installing: /usr/share/bcc/man/man8/tcpsubnet.8.gz
-- Installing: /usr/share/bcc/man/man8/tcpsynbl.8.gz
-- Installing: /usr/share/bcc/man/man8/tcptop.8.gz
-- Installing: /usr/share/bcc/man/man8/tcptracer.8.gz
-- Installing: /usr/share/bcc/man/man8/threadsnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/tplist.8.gz
-- Installing: /usr/share/bcc/man/man8/trace.8.gz
-- Installing: /usr/share/bcc/man/man8/ttysnoop.8.gz
-- Installing: /usr/share/bcc/man/man8/ucalls.8.gz
-- Installing: /usr/share/bcc/man/man8/uflow.8.gz
-- Installing: /usr/share/bcc/man/man8/ugc.8.gz
-- Installing: /usr/share/bcc/man/man8/uobjnew.8.gz
-- Installing: /usr/share/bcc/man/man8/ustat.8.gz
-- Installing: /usr/share/bcc/man/man8/uthreads.8.gz
-- Installing: /usr/share/bcc/man/man8/vfscount.8.gz
-- Installing: /usr/share/bcc/man/man8/vfsstat.8.gz
-- Installing: /usr/share/bcc/man/man8/virtiostat.8.gz
-- Installing: /usr/share/bcc/man/man8/wakeuptime.8.gz
-- Installing: /usr/share/bcc/man/man8/xfsdist.8.gz
-- Installing: /usr/share/bcc/man/man8/xfsslower.8.gz
-- Installing: /usr/share/bcc/man/man8/zfsdist.8.gz
-- Installing: /usr/share/bcc/man/man8/zfsslower.8.gz
-- Installing: /usr/share/bcc/tools/argdist
-- Installing: /usr/share/bcc/tools/bashreadline
-- Installing: /usr/share/bcc/tools/bindsnoop
-- Installing: /usr/share/bcc/tools/biolatency
-- Installing: /usr/share/bcc/tools/biolatpcts
-- Installing: /usr/share/bcc/tools/biopattern
-- Installing: /usr/share/bcc/tools/biosnoop
-- Installing: /usr/share/bcc/tools/biotop
-- Installing: /usr/share/bcc/tools/bitesize
-- Installing: /usr/share/bcc/tools/bpflist
-- Installing: /usr/share/bcc/tools/btrfsdist
-- Installing: /usr/share/bcc/tools/btrfsslower
-- Installing: /usr/share/bcc/tools/cachestat
-- Installing: /usr/share/bcc/tools/cachetop
-- Installing: /usr/share/bcc/tools/capable
-- Installing: /usr/share/bcc/tools/compactsnoop
-- Installing: /usr/share/bcc/tools/cpudist
-- Installing: /usr/share/bcc/tools/cpuunclaimed
-- Installing: /usr/share/bcc/tools/criticalstat
-- Installing: /usr/share/bcc/tools/dbslower
-- Installing: /usr/share/bcc/tools/dbstat
-- Installing: /usr/share/bcc/tools/dcsnoop
-- Installing: /usr/share/bcc/tools/dcstat
-- Installing: /usr/share/bcc/tools/deadlock
-- Installing: /usr/share/bcc/tools/dirtop
-- Installing: /usr/share/bcc/tools/drsnoop
-- Installing: /usr/share/bcc/tools/execsnoop
-- Installing: /usr/share/bcc/tools/exitsnoop
-- Installing: /usr/share/bcc/tools/ext4dist
-- Installing: /usr/share/bcc/tools/ext4slower
-- Installing: /usr/share/bcc/tools/filegone
-- Installing: /usr/share/bcc/tools/filelife
-- Installing: /usr/share/bcc/tools/fileslower
-- Installing: /usr/share/bcc/tools/filetop
-- Installing: /usr/share/bcc/tools/funccount
-- Installing: /usr/share/bcc/tools/funcinterval
-- Installing: /usr/share/bcc/tools/funclatency
-- Installing: /usr/share/bcc/tools/funcslower
-- Installing: /usr/share/bcc/tools/gethostlatency
-- Installing: /usr/share/bcc/tools/hardirqs
-- Installing: /usr/share/bcc/tools/inject
-- Installing: /usr/share/bcc/tools/killsnoop
-- Installing: /usr/share/bcc/tools/klockstat
-- Installing: /usr/share/bcc/tools/kvmexit
-- Installing: /usr/share/bcc/tools/llcstat
-- Installing: /usr/share/bcc/tools/mdflush
-- Installing: /usr/share/bcc/tools/memleak
-- Installing: /usr/share/bcc/tools/mountsnoop
-- Installing: /usr/share/bcc/tools/mysqld_qslower
-- Installing: /usr/share/bcc/tools/netqtop
-- Installing: /usr/share/bcc/tools/nfsdist
-- Installing: /usr/share/bcc/tools/nfsslower
-- Installing: /usr/share/bcc/tools/offcputime
-- Installing: /usr/share/bcc/tools/offwaketime
-- Installing: /usr/share/bcc/tools/oomkill
-- Installing: /usr/share/bcc/tools/opensnoop
-- Installing: /usr/share/bcc/tools/pidpersec
-- Installing: /usr/share/bcc/tools/ppchcalls
-- Installing: /usr/share/bcc/tools/profile
-- Installing: /usr/share/bcc/tools/rdmaucma
-- Installing: /usr/share/bcc/tools/readahead
-- Installing: /usr/share/bcc/tools/runqlat
-- Installing: /usr/share/bcc/tools/runqlen
-- Installing: /usr/share/bcc/tools/runqslower
-- Installing: /usr/share/bcc/tools/shmsnoop
-- Installing: /usr/share/bcc/tools/slabratetop
-- Installing: /usr/share/bcc/tools/sofdsnoop
-- Installing: /usr/share/bcc/tools/softirqs
-- Installing: /usr/share/bcc/tools/solisten
-- Installing: /usr/share/bcc/tools/sslsniff
-- Installing: /usr/share/bcc/tools/stackcount
-- Installing: /usr/share/bcc/tools/statsnoop
-- Installing: /usr/share/bcc/tools/swapin
-- Installing: /usr/share/bcc/tools/syncsnoop
-- Installing: /usr/share/bcc/tools/syscount
-- Installing: /usr/share/bcc/tools/tcpaccept
-- Installing: /usr/share/bcc/tools/tcpcong
-- Installing: /usr/share/bcc/tools/tcpconnect
-- Installing: /usr/share/bcc/tools/tcpconnlat
-- Installing: /usr/share/bcc/tools/tcpdrop
-- Installing: /usr/share/bcc/tools/tcplife
-- Installing: /usr/share/bcc/tools/tcpretrans
-- Installing: /usr/share/bcc/tools/tcprtt
-- Installing: /usr/share/bcc/tools/tcpstates
-- Installing: /usr/share/bcc/tools/tcpsubnet
-- Installing: /usr/share/bcc/tools/tcpsynbl
-- Installing: /usr/share/bcc/tools/tcptop
-- Installing: /usr/share/bcc/tools/tcptracer
-- Installing: /usr/share/bcc/tools/threadsnoop
-- Installing: /usr/share/bcc/tools/tplist
-- Installing: /usr/share/bcc/tools/trace
-- Installing: /usr/share/bcc/tools/ttysnoop
-- Installing: /usr/share/bcc/tools/vfscount
-- Installing: /usr/share/bcc/tools/vfsstat
-- Installing: /usr/share/bcc/tools/virtiostat
-- Installing: /usr/share/bcc/tools/wakeuptime
-- Installing: /usr/share/bcc/tools/xfsdist
-- Installing: /usr/share/bcc/tools/xfsslower
-- Installing: /usr/share/bcc/tools/zfsdist
-- Installing: /usr/share/bcc/tools/zfsslower
-- Installing: /usr/share/bcc/tools/cobjnew
-- Installing: /usr/share/bcc/tools/javacalls
-- Installing: /usr/share/bcc/tools/javaflow
-- Installing: /usr/share/bcc/tools/javagc
-- Installing: /usr/share/bcc/tools/javaobjnew
-- Installing: /usr/share/bcc/tools/javastat
-- Installing: /usr/share/bcc/tools/javathreads
-- Installing: /usr/share/bcc/tools/nodegc
-- Installing: /usr/share/bcc/tools/nodestat
-- Installing: /usr/share/bcc/tools/perlcalls
-- Installing: /usr/share/bcc/tools/perlflow
-- Installing: /usr/share/bcc/tools/perlstat
-- Installing: /usr/share/bcc/tools/phpcalls
-- Installing: /usr/share/bcc/tools/phpflow
-- Installing: /usr/share/bcc/tools/phpstat
-- Installing: /usr/share/bcc/tools/pythoncalls
-- Installing: /usr/share/bcc/tools/pythonflow
-- Installing: /usr/share/bcc/tools/pythongc
-- Installing: /usr/share/bcc/tools/pythonstat
-- Installing: /usr/share/bcc/tools/reset-trace
-- Installing: /usr/share/bcc/tools/rubycalls
-- Installing: /usr/share/bcc/tools/rubyflow
-- Installing: /usr/share/bcc/tools/rubygc
-- Installing: /usr/share/bcc/tools/rubyobjnew
-- Installing: /usr/share/bcc/tools/rubystat
-- Installing: /usr/share/bcc/tools/tclcalls
-- Installing: /usr/share/bcc/tools/tclflow
-- Installing: /usr/share/bcc/tools/tclobjnew
-- Installing: /usr/share/bcc/tools/tclstat
-- Installing: /usr/share/bcc/tools/deadlock.c
-- Installing: /usr/share/bcc/tools/netqtop.c
-- Installing: /usr/share/bcc/tools/doc/argdist_example.txt
-- Installing: /usr/share/bcc/tools/doc/bashreadline_example.txt
-- Installing: /usr/share/bcc/tools/doc/bindsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/biolatency_example.txt
-- Installing: /usr/share/bcc/tools/doc/biolatpcts_example.txt
-- Installing: /usr/share/bcc/tools/doc/biopattern_example.txt
-- Installing: /usr/share/bcc/tools/doc/biosnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/biotop_example.txt
-- Installing: /usr/share/bcc/tools/doc/bitesize_example.txt
-- Installing: /usr/share/bcc/tools/doc/bpflist_example.txt
-- Installing: /usr/share/bcc/tools/doc/btrfsdist_example.txt
-- Installing: /usr/share/bcc/tools/doc/btrfsslower_example.txt
-- Installing: /usr/share/bcc/tools/doc/cachestat_example.txt
-- Installing: /usr/share/bcc/tools/doc/cachetop_example.txt
-- Installing: /usr/share/bcc/tools/doc/capable_example.txt
-- Installing: /usr/share/bcc/tools/doc/cobjnew_example.txt
-- Installing: /usr/share/bcc/tools/doc/compactsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/cpudist_example.txt
-- Installing: /usr/share/bcc/tools/doc/cpuunclaimed_example.txt
-- Installing: /usr/share/bcc/tools/doc/criticalstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/cthreads_example.txt
-- Installing: /usr/share/bcc/tools/doc/dbslower_example.txt
-- Installing: /usr/share/bcc/tools/doc/dbstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/dcsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/dcstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/deadlock_example.txt
-- Installing: /usr/share/bcc/tools/doc/dirtop_example.txt
-- Installing: /usr/share/bcc/tools/doc/drsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/execsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/exitsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/ext4dist_example.txt
-- Installing: /usr/share/bcc/tools/doc/ext4slower_example.txt
-- Installing: /usr/share/bcc/tools/doc/filegone_example.txt
-- Installing: /usr/share/bcc/tools/doc/filelife_example.txt
-- Installing: /usr/share/bcc/tools/doc/fileslower_example.txt
-- Installing: /usr/share/bcc/tools/doc/filetop_example.txt
-- Installing: /usr/share/bcc/tools/doc/funccount_example.txt
-- Installing: /usr/share/bcc/tools/doc/funcinterval_example.txt
-- Installing: /usr/share/bcc/tools/doc/funclatency_example.txt
-- Installing: /usr/share/bcc/tools/doc/funcslower_example.txt
-- Installing: /usr/share/bcc/tools/doc/gethostlatency_example.txt
-- Installing: /usr/share/bcc/tools/doc/hardirqs_example.txt
-- Installing: /usr/share/bcc/tools/doc/inject_example.txt
-- Installing: /usr/share/bcc/tools/doc/javacalls_example.txt
-- Installing: /usr/share/bcc/tools/doc/javaflow_example.txt
-- Installing: /usr/share/bcc/tools/doc/javagc_example.txt
-- Installing: /usr/share/bcc/tools/doc/javaobjnew_example.txt
-- Installing: /usr/share/bcc/tools/doc/javastat_example.txt
-- Installing: /usr/share/bcc/tools/doc/javathreads_example.txt
-- Installing: /usr/share/bcc/tools/doc/killsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/klockstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/kvmexit_example.txt
-- Installing: /usr/share/bcc/tools/doc/llcstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/mdflush_example.txt
-- Installing: /usr/share/bcc/tools/doc/memleak_example.txt
-- Installing: /usr/share/bcc/tools/doc/mountsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/mysqld_qslower_example.txt
-- Installing: /usr/share/bcc/tools/doc/netqtop_example.txt
-- Installing: /usr/share/bcc/tools/doc/nfsdist_example.txt
-- Installing: /usr/share/bcc/tools/doc/nfsslower_example.txt
-- Installing: /usr/share/bcc/tools/doc/nodegc_example.txt
-- Installing: /usr/share/bcc/tools/doc/nodestat_example.txt
-- Installing: /usr/share/bcc/tools/doc/offcputime_example.txt
-- Installing: /usr/share/bcc/tools/doc/offwaketime_example.txt
-- Installing: /usr/share/bcc/tools/doc/oomkill_example.txt
-- Installing: /usr/share/bcc/tools/doc/opensnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/perlcalls_example.txt
-- Installing: /usr/share/bcc/tools/doc/perlflow_example.txt
-- Installing: /usr/share/bcc/tools/doc/perlstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/phpcalls_example.txt
-- Installing: /usr/share/bcc/tools/doc/phpflow_example.txt
-- Installing: /usr/share/bcc/tools/doc/phpstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/pidpersec_example.txt
-- Installing: /usr/share/bcc/tools/doc/ppchcalls_example.txt
-- Installing: /usr/share/bcc/tools/doc/profile_example.txt
-- Installing: /usr/share/bcc/tools/doc/pythoncalls_example.txt
-- Installing: /usr/share/bcc/tools/doc/pythonflow_example.txt
-- Installing: /usr/share/bcc/tools/doc/pythongc_example.txt
-- Installing: /usr/share/bcc/tools/doc/pythonstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/rdmaucma_example.txt
-- Installing: /usr/share/bcc/tools/doc/readahead_example.txt
-- Installing: /usr/share/bcc/tools/doc/reset-trace_example.txt
-- Installing: /usr/share/bcc/tools/doc/rubycalls_example.txt
-- Installing: /usr/share/bcc/tools/doc/rubyflow_example.txt
-- Installing: /usr/share/bcc/tools/doc/rubygc_example.txt
-- Installing: /usr/share/bcc/tools/doc/rubyobjnew_example.txt
-- Installing: /usr/share/bcc/tools/doc/rubystat_example.txt
-- Installing: /usr/share/bcc/tools/doc/runqlat_example.txt
-- Installing: /usr/share/bcc/tools/doc/runqlen_example.txt
-- Installing: /usr/share/bcc/tools/doc/runqslower_example.txt
-- Installing: /usr/share/bcc/tools/doc/shmsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/slabratetop_example.txt
-- Installing: /usr/share/bcc/tools/doc/sofdsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/softirqs_example.txt
-- Installing: /usr/share/bcc/tools/doc/solisten_example.txt
-- Installing: /usr/share/bcc/tools/doc/sslsniff_example.txt
-- Installing: /usr/share/bcc/tools/doc/stackcount_example.txt
-- Installing: /usr/share/bcc/tools/doc/statsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/swapin_example.txt
-- Installing: /usr/share/bcc/tools/doc/syncsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/syscount_example.txt
-- Installing: /usr/share/bcc/tools/doc/tclcalls_example.txt
-- Installing: /usr/share/bcc/tools/doc/tclflow_example.txt
-- Installing: /usr/share/bcc/tools/doc/tclobjnew_example.txt
-- Installing: /usr/share/bcc/tools/doc/tclstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcpaccept_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcpcong_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcpconnect_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcpconnlat_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcpdrop_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcplife_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcpretrans_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcprtt_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcpstates_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcpsubnet_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcpsynbl_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcptop_example.txt
-- Installing: /usr/share/bcc/tools/doc/tcptracer_example.txt
-- Installing: /usr/share/bcc/tools/doc/threadsnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/tplist_example.txt
-- Installing: /usr/share/bcc/tools/doc/trace_example.txt
-- Installing: /usr/share/bcc/tools/doc/ttysnoop_example.txt
-- Installing: /usr/share/bcc/tools/doc/vfscount_example.txt
-- Installing: /usr/share/bcc/tools/doc/vfsstat_example.txt
-- Installing: /usr/share/bcc/tools/doc/virtiostat_example.txt
-- Installing: /usr/share/bcc/tools/doc/wakeuptime_example.txt
-- Installing: /usr/share/bcc/tools/doc/xfsdist_example.txt
-- Installing: /usr/share/bcc/tools/doc/xfsslower_example.txt
-- Installing: /usr/share/bcc/tools/doc/zfsdist_example.txt
-- Installing: /usr/share/bcc/tools/doc/zfsslower_example.txt
-- Installing: /usr/share/bcc/tools/lib/ucalls
-- Installing: /usr/share/bcc/tools/lib/uflow
-- Installing: /usr/share/bcc/tools/lib/ugc
-- Installing: /usr/share/bcc/tools/lib/uobjnew
-- Installing: /usr/share/bcc/tools/lib/ustat
-- Installing: /usr/share/bcc/tools/lib/uthreads
-- Installing: /usr/share/bcc/tools/doc/lib/ucalls_example.txt
-- Installing: /usr/share/bcc/tools/doc/lib/uflow_example.txt
-- Installing: /usr/share/bcc/tools/doc/lib/ugc_example.txt
-- Installing: /usr/share/bcc/tools/doc/lib/uobjnew_example.txt
-- Installing: /usr/share/bcc/tools/doc/lib/ustat_example.txt
-- Installing: /usr/share/bcc/tools/doc/lib/uthreads_example.txt
-- Installing: /usr/share/bcc/tools/old/bashreadline
-- Installing: /usr/share/bcc/tools/old/biosnoop
-- Installing: /usr/share/bcc/tools/old/compactsnoop
-- Installing: /usr/share/bcc/tools/old/filegone
-- Installing: /usr/share/bcc/tools/old/filelife
-- Installing: /usr/share/bcc/tools/old/gethostlatency
-- Installing: /usr/share/bcc/tools/old/hardirqs
-- Installing: /usr/share/bcc/tools/old/killsnoop
-- Installing: /usr/share/bcc/tools/old/memleak
-- Installing: /usr/share/bcc/tools/old/offcputime
-- Installing: /usr/share/bcc/tools/old/offwaketime
-- Installing: /usr/share/bcc/tools/old/oomkill
-- Installing: /usr/share/bcc/tools/old/opensnoop
-- Installing: /usr/share/bcc/tools/old/profile
-- Installing: /usr/share/bcc/tools/old/softirqs
-- Installing: /usr/share/bcc/tools/old/stackcount
-- Installing: /usr/share/bcc/tools/old/stacksnoop
-- Installing: /usr/share/bcc/tools/old/statsnoop
-- Installing: /usr/share/bcc/tools/old/syncsnoop
-- Installing: /usr/share/bcc/tools/old/tcpaccept
-- Installing: /usr/share/bcc/tools/old/tcpconnect
-- Installing: /usr/share/bcc/tools/old/wakeuptime

至此,BCC源码构建完成。

另:通过使用BeyondCompare对编译前和编译后的BCC源码进行比对,结果如下:

……

猜你喜欢

转载自blog.csdn.net/phmatthaus/article/details/133126843