Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rumpl/ebpf
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rumpl/ebpf
- Owner: rumpl
- Created: 2021-10-25T20:54:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-25T21:04:24.000Z (over 3 years ago)
- Last Synced: 2024-11-25T01:25:34.865Z (3 months ago)
- Language: C
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ebpf
Testing out some ebpf goodness, code taken initially from [here](https://github.com/lizrice/libbpfgo-beginners)
## Launching
Use the Docker Dev Environments feature, create a dev env with this repo, start to code.
## Running
First build the project
```shell
$ make
```And then you can run it
```shell
$ sudo ./hello
```Stop it (ctrl+c) after a while and you will be greeted with the number of syscalls each process made
```shell
$ sudo ./hello
^Ckube-apiserver: 956
etcd: 554
ip6tables: 73
containerd: 298
kube-controller: 784
docker-init: 2
logwrite: 31
storage-provisi: 27
iptables: 73
dockerd: 1553
containerd-shim: 66
hello: 16499
node: 91
kube-scheduler: 77
vpnkit-bridge: 342
coredns: 295
memlogd: 133
kubelet: 15180
```