Masanori Misono

Results 25 comments of Masanori Misono

What architecture do you use? if long is 4bytes, then the script should be ``` $load1 = *$avenrun; $load5 = *($avenrun + 4); $load15 = *($avenrun + 8); ``` ------...

Could you try to run the script with `sudo bpftrace -kk loads.bt`? That option reports runtime errors if any.

This seems a culprit. ``` store i64 30004, [16 x i8]* %perfdata, align 8 ``` ```c % cat a.c #include int main(){ long a = 30004; long b = (a...

Hi, As of problem2, it is fixed for now (https://github.com/mmisono/kvm-bpf-tools/commit/05f8c0ccc8fc2395127d095a938b30ff02691de2). As of problem1, the error reason is `bpf_perf_event_output()` does not accept a bpf map value as an argument. This is...