setNull
setNull
Hi @chenhengqi , I revisit here...found this issue may be related to force type casting in bpf progs on arm64 platform. f.ex., a few changes like below world make it...
Hi @chenhengqi , more info... I found the failure is at https://github.com/torvalds/linux/blob/master/kernel/events/core.c#L10490 , at where ```prog->aux->max_ctx_offset``` is bigger than return value of ```trace_event_get_offsets``` in arm64, 5.10.120 kernel. I'm still trying...
> Hi @chenhengqi , more info... I found the failure is at https://github.com/torvalds/linux/blob/master/kernel/events/core.c#L10490 , at where `prog->aux->max_ctx_offset` is bigger than return value of `trace_event_get_offsets` in arm64, 5.10.120 kernel. > >...
> @setNull Thanks for the details. What's your kernel version ? I can't reproduce locally. 5.10.120 arm64
> I'm trying to cross-compile some of the programs built on top of libbpf-bootstrap, but I'm lacking expertise with C/C++ ecosystem. I see that support for cross-compilation was added in...