diff options
author | Dante Catalfamo | 2023-05-22 17:07:24 -0400 |
---|---|---|
committer | Dante Catalfamo | 2023-05-22 17:07:24 -0400 |
commit | a9ea5a6a6d894391c2da4f090d28cc470d45af79 (patch) | |
tree | b0f780a581006de25bbfde63fcc7a7769aa44b82 /content | |
parent | 363e2fe9c9b117af73396a5614fa9008b5bc4b7d (diff) | |
download | blog-a9ea5a6a6d894391c2da4f090d28cc470d45af79.tar.gz blog-a9ea5a6a6d894391c2da4f090d28cc470d45af79.tar.bz2 blog-a9ea5a6a6d894391c2da4f090d28cc470d45af79.zip |
openbsd-btrace: paid -> pid
Diffstat (limited to 'content')
-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] |