Open LeChatP opened 1 month ago
Hello everyone,
Kernelside: StackTrace::get_stackid() returns an i64. However, Userside: StackTraceMap::get() requires i32. In C, bpf_get_stackid() returns a long which is an i32 on 32-bit system, and i64 on 64-bit system.
StackTrace::get_stackid()
StackTraceMap::get()
bpf_get_stackid()
long
Thank you for your time.
Hello everyone,
Kernelside:
StackTrace::get_stackid()
returns an i64. However, Userside:StackTraceMap::get()
requires i32. In C,bpf_get_stackid()
returns along
which is an i32 on 32-bit system, and i64 on 64-bit system.Thank you for your time.