Skip to content

Commit

Permalink
Fix incorrect reference to the "probe" key
Browse files Browse the repository at this point in the history
The explanation text under lesson 8 oneliner incorrectly state that "name"
is the key for the full name of the probe but it should be "probe" as it
is used in the oneliner.
  • Loading branch information
jeremybaumont committed Jul 8, 2019
1 parent a6a4fb3 commit 83d473c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial_one_liners.md
Expand Up @@ -183,7 +183,7 @@ Attaching 25 probes...
Count process-level events for five seconds, printing a summary.

- sched: The `sched` probe category has high-level scheduler and process events, such as fork, exec, and context switch.
- name: The full name of the probe.
- probe: The full name of the probe.
- interval:s:5: This is a probe that fires once every 5 seconds, on one CPU only. It is used for creating script-level intervals or timeouts.
- exit(): This exits bpftrace.

Expand Down

0 comments on commit 83d473c

Please sign in to comment.