Commit 3bfbc5fb authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #641 from igorsugak/master

tutorial: add missing return in hello_world example
parents db081e26 77045281
......@@ -23,7 +23,7 @@ Here's the code for hello_world.py:
```Python
from bcc import BPF
BPF(text='int kprobe__sys_clone(void *ctx) { bpf_trace_printk("Hello, World!\\n"); }').trace_print()
BPF(text='int kprobe__sys_clone(void *ctx) { bpf_trace_printk("Hello, World!\\n"); return 0; }').trace_print()
```
There are six things to learn from this:
......
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