On 5/2/24 11:23 AM, Jose E. Marchesi wrote:
.long runqueues
.long 3264
.long 388
Just to be sure, there seems to be a little discrepancy. The size of
runqueues (struct rq) in the latest bpf-next is 3456 instead of 3264,
when compiled by both clang 18 and GCC. This is correctly reflected in
the BTF generated by both compilers.
Is the size of struct rq different in your testing machine?
Probably due to different configrations. Anyway, libbpf/kernel will do proper
rewrite to reference to the proper kernel runqueus.