Skip to content

Commit

Permalink
Update tutorial_bcc_python_developer.md (iovisor#1017)
Browse files Browse the repository at this point in the history
small typo
  • Loading branch information
cloojure authored and goldshtn committed Mar 3, 2017
1 parent 71600e7 commit 8ef6eb8
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 @@ -96,7 +96,7 @@ This is similar to hello_world.py, and traces new processes via sys_clone() agai

1. ```b.attach_kprobe(event="sys_clone", fn_name="hello")```: Creates a kprobe for the sys_clone() kernel function, which will execute our defined hello() function. You can call attach_kprobe() more than once, and attach your C function to multiple kernel functions.

1. ```b.trace_fields()```: Returns a fixed set of fields from trace_pipe. Simalar to trace_print(), this is handy for hacking, but for real tooling we should switch to BPF_PERF_OUTPUT().
1. ```b.trace_fields()```: Returns a fixed set of fields from trace_pipe. Similar to trace_print(), this is handy for hacking, but for real tooling we should switch to BPF_PERF_OUTPUT().

### Lesson 4. sync_timing.py

Expand Down

0 comments on commit 8ef6eb8

Please sign in to comment.