Commit 0e602f1f authored by Henrik Nymann Jensen's avatar Henrik Nymann Jensen Committed by Alastair Robertson

README.md: Change kprobe:do_sys_open example to print the filename

parent 3ff0a80a
......@@ -57,7 +57,7 @@ Attaching 2 probes...
Print process name and paths for file opens, using kprobes (kernel dynamic tracing) of do_sys_open():
```
# bpftrace -e 'kprobe:do_sys_open { printf("%s: %s\n", comm, str(arg0)) }'
# bpftrace -e 'kprobe:do_sys_open { printf("%s: %s\n", comm, str(arg1)) }'
Attaching 1 probe...
git: .git/objects/da
git: .git/objects/pack
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment