heidsoft / cloud-bigdata-book

write book
56 stars 33 forks source link

bpf使用 #105

Open heidsoft opened 3 years ago

heidsoft commented 3 years ago
root@heidsoft-dev:~# sudo apt-get install bpfcc-tools python3-bpfcc libbpfcc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python-is-python2 python2 python2-minimal python2.7 python2.7-minimal
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  bcc-tools libbcc python-bcc
The following NEW packages will be installed:
  bpfcc-tools libbpfcc python3-bpfcc
0 upgraded, 3 newly installed, 3 to remove and 150 not upgraded.
Need to get 0 B/15.5 MB of archives.
After this operation, 18.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 287689 files and directories currently installed.)
Removing bcc-tools (0.10.0-34.git.6836168) ...
Removing python-bcc (0.10.0-34.git.6836168) ...
Removing libbcc (0.10.0-34.git.6836168) ...
Selecting previously unselected package libbpfcc.
(Reading database ... 287256 files and directories currently installed.)
Preparing to unpack .../libbpfcc_0.12.0-2_amd64.deb ...
Unpacking libbpfcc (0.12.0-2) ...
Selecting previously unselected package python3-bpfcc.
Preparing to unpack .../python3-bpfcc_0.12.0-2_all.deb ...
Unpacking python3-bpfcc (0.12.0-2) ...
Selecting previously unselected package bpfcc-tools.
Preparing to unpack .../bpfcc-tools_0.12.0-2_all.deb ...
Unpacking bpfcc-tools (0.12.0-2) ...
Setting up libbpfcc (0.12.0-2) ...
Setting up python3-bpfcc (0.12.0-2) ...
Setting up bpfcc-tools (0.12.0-2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...