File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ This is how it may look in Grafana (top 10 processes doing most of syscalls):
7272Full demo in terminal:
7373``` shell
7474sudo bpftrace -e ' tracepoint:raw_syscalls:sys_enter { @SYSCALLNUM[comm] = count(); }' &
75- docker run -ti --rm --cap-add CAP_SYS_ADMIN --pid=host -v /sys/fs/bpf:/sys/fs/bpf --pid=host -p 8080:8080 ghcr.io/ebpfdev/dev-agent:v0.0.3 server --etm -:AT_SYSCALLNUM:string
75+ docker run -ti --rm --cap-add CAP_SYS_ADMIN --pid=host -v /sys/fs/bpf:/sys/fs/bpf --pid=host -p 8080:8080 ghcr.io/ebpfdev/dev-agent:v0.0.4 server --etm -:AT_SYSCALLNUM:string
7676curl http://localhost:8080/metrics | grep devagent_ebpf_map_entry_count
7777```
7878
@@ -113,7 +113,7 @@ ID Name FD Type Flags IsPinned KeySize ValueSize
113113Instead of ` ./phydev server ` , use docker command:
114114
115115``` shell
116- docker run -ti --rm --cap-add CAP_SYS_ADMIN --pid=host -e BPF_DIR=/sys/fs/bpf -v /sys/fs/bpf:/sys/fs/bpf -p 8080:8080 ghcr.io/ebpfdev/dev-agent:v0.0.3 server
116+ docker run -ti --rm --cap-add CAP_SYS_ADMIN --pid=host -e BPF_DIR=/sys/fs/bpf -v /sys/fs/bpf:/sys/fs/bpf -p 8080:8080 ghcr.io/ebpfdev/dev-agent:v0.0.4 server
117117```
118118
119119### Security options breakdown
You can’t perform that action at this time.
0 commit comments