Login or register    

BCC Python Developer Tutorial

https://github.com/iovisor/bcc/blob/master/docs/tutorial_bcc_python_developer.md

lesson 1: helloworld

https://github.com/iovisor/bcc/blob/master/docs/tutorial_bcc_python_developer.md#lesson-1-hello-world

>>> from bcc import BPF
>>> BPF(text='int kprobe__sys_clone(void *ctx) { bpf_trace_printk("Hello, World!\\n"); return 0; }').trace_print()

Comments

Leave a comment

Please login or register to leave a comment!