From 770452813759732578d2e7189c7434e3e4d5f362 Mon Sep 17 00:00:00 2001 From: Igor Sugak Date: Mon, 1 Aug 2016 10:19:58 -0700 Subject: [PATCH] tutorial: add missing return in hello_world example --- docs/tutorial_bcc_python_developer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial_bcc_python_developer.md b/docs/tutorial_bcc_python_developer.md index 338c43c..e26dcff 100644 --- a/docs/tutorial_bcc_python_developer.md +++ b/docs/tutorial_bcc_python_developer.md @@ -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: -- 2.7.4