From a9ea5a6a6d894391c2da4f090d28cc470d45af79 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo Date: Mon, 22 May 2023 17:07:24 -0400 Subject: openbsd-btrace: paid -> pid --- content/posts/openbsd-dynamic-tracing/index.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.3