public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* a small question about bpftool struct_ops
@ 2023-05-19 12:07 Zhouyi Zhou
  2023-05-19 19:01 ` Martin KaFai Lau
  0 siblings, 1 reply; 6+ messages in thread
From: Zhouyi Zhou @ 2023-05-19 12:07 UTC (permalink / raw)
  To: bpf, linux-kernel

Dear developers:
I compiled bpftool and bpf tests in mainline (2d1bcbc6cd70),
but when I invoke:
bpftool struct_ops register bpf_cubic.bpf.o

the command line fail with:
libbpf: struct_ops init_kern: struct tcp_congestion_ops data is not
found in struct bpf_struct_ops_tcp_congestion_ops
libbpf: failed to load object 'bpf_cubic.bpf.o'

The host OS I used to compile the kernel and bpf is Ubuntu 23.04, the
guest OS that I run bpftool is Ubuntu 22.04.
I have stumbled on this for several days, could you help me by guidance my way?

Thanks in advance
Zhouyi

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-31  3:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-19 12:07 a small question about bpftool struct_ops Zhouyi Zhou
2023-05-19 19:01 ` Martin KaFai Lau
2023-05-19 23:37   ` Zhouyi Zhou
2023-05-21  8:27     ` Zhouyi Zhou
2023-05-26 23:10       ` Zhouyi Zhou
2023-05-31  3:14   ` Zhouyi Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox