Skip to content

Commit

Permalink
Merge pull request iovisor#641 from igorsugak/master
Browse files Browse the repository at this point in the history
tutorial: add missing return in hello_world example
  • Loading branch information
brendangregg authored Aug 1, 2016
2 parents db081e2 + 7704528 commit 3bfbc5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial_bcc_python_developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3bfbc5f

Please sign in to comment.