I hereby claim:
- I am grantseltzer on github.
- I am grantseltzer (https://keybase.io/grantseltzer) on keybase.
- I have a public key ASAHcxmnVSLzcZ4MWTGettrpMzUkzvHSzC52uuB3xS_Pggo
To claim this, I am signing this object:
#include "vmlinux.h" | |
#include <bpf/bpf_helpers.h> | |
char LICENSE[] SEC("license") = "GPL"; | |
struct process_info { | |
int pid; | |
char comm[100]; | |
}; |
package main | |
import "testing" | |
func TestXXX(t *testing.T) { | |
testCases := []struct { | |
testName string | |
}{ | |
{ |
package main | |
import ( | |
"debug/dwarf" | |
"debug/elf" | |
"fmt" | |
"io" | |
"log" | |
"os" | |
) |
package main | |
import ( | |
"debug/dwarf" | |
"debug/elf" | |
"fmt" | |
"io" | |
"log" | |
"os" | |
) |
package main | |
import ( | |
"io/ioutil" | |
"log" | |
"time" | |
"github.com/iovisor/gobpf/bcc" | |
) |
package main | |
//go:noinline | |
func parseMe(a int, b bool, c float32) { | |
// some code | |
} | |
func main() { | |
parseMe(1, true, 96.69) |
package main | |
//go:noinline | |
func simpleFunction(x int) { | |
// some code | |
} | |
func main() { | |
simpleFunction(99) | |
} |
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"functionName": "main.test_single_byte", | |
"args": [ | |
{ | |
"type": "BYTE", | |
"value": "dec=97\tchar='a'" | |
} | |
], | |
"procInfo": { |
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"os/signal" | |
"github.com/iovisor/gobpf/bcc" | |
) |