diff options
Diffstat (limited to 'content/posts/openbsd-dynamic-tracing/index.org')
-rw-r--r-- | content/posts/openbsd-dynamic-tracing/index.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/posts/openbsd-dynamic-tracing/index.org b/content/posts/openbsd-dynamic-tracing/index.org index 06d0b86..2fd6acb 100644 --- a/content/posts/openbsd-dynamic-tracing/index.org +++ b/content/posts/openbsd-dynamic-tracing/index.org @@ -197,7 +197,7 @@ You can also do basic math operations on values. Here are a couple examples of how it can be used: -- Print the process name and paid every time =fork= is called +- Print the process name and pid every time =fork= is called #+begin_src doas btrace -e 'syscall:fork:entry { printf("%s[%d]\n", comm, pid) }' ksh[68490] |