From 75fb59f98674197af3bcc74928cb7fed507e40d5 Mon Sep 17 00:00:00 2001 From: Paul Montag Date: Sat, 3 Feb 2024 13:30:59 -0600 Subject: [PATCH] Remove stupid gatekeeping --- content/posts/bpftrace_and_go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/bpftrace_and_go.md b/content/posts/bpftrace_and_go.md index 4004a4a..5c8d36b 100644 --- a/content/posts/bpftrace_and_go.md +++ b/content/posts/bpftrace_and_go.md @@ -234,7 +234,7 @@ minus(22, 12) ### string parameters -Sure, this is where things get a little harder. BPFtrace has a whole load of helper [functions](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md#functions) one of them being the [str](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md#5-str-strings) function. This takes a pointer to a string, and then the length of the string. Lets write a function that takes a string as an argument and then look at the call signature to figure out what the memory shape of a string is. +BPFtrace has a whole load of helper [functions](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md#functions) one of them being the [str](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md#5-str-strings) function. This takes a pointer to a string, and then the length of the string. Lets write a function that takes a string as an argument and then look at the call signature to figure out what the memory shape of a string is. main.go ```go