github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/agent/ebpfspy/bpf/profile.bpf.h (about) 1 2 #define PERF_MAX_STACK_DEPTH 127 3 #define PROFILE_MAPS_SIZE 16384 4 5 6 struct profile_key_t { 7 __u32 pid; 8 __s64 kern_stack; 9 __s64 user_stack; 10 char comm[16]; 11 }; 12 13 struct profile_bss_args_t { 14 __u32 tgid_filter; // 0 => profile everything 15 };