BPF List
 help / color / mirror / Atom feed
* Need update to libbpf/bpftool for bpf_stream_vprintk() removal (kernel sha 0cecd492f516)
@ 2026-03-09 17:57 Calvin Owens
  2026-03-09 20:34 ` Quentin Monnet
  0 siblings, 1 reply; 4+ messages in thread
From: Calvin Owens @ 2026-03-09 17:57 UTC (permalink / raw)
  To: Andrii Nakryiko; +Cc: bpf

Hi Andrii,

Your libbpf github sync at [1] happened just before [2] was merged...
would you mind syncing that bpf_helpers.h change into libbpf/bpftool?

    In file included from skeleton/profiler.bpf.c:4:
    libbpf/include/bpf/bpf_helpers.h:318:12: error: conflicting types for 'bpf_stream_vprintk'
         318 | extern int bpf_stream_vprintk(int stream_id, const char *fmt__str, const void *args,
             |            ^
    ./vmlinux.h:128001:12: note: previous declaration is here
      128001 | extern int bpf_stream_vprintk(int stream_id, const char *fmt__str, const void *args, u32 len__sz) __weak __ksym;

I'm happy to send patches if I can help, but I'm guessing this is one of
those things that is easier to just do yourself with commit access...

Cheers,
Calvin

[2] https://github.com/libbpf/libbpf/commit/6ddc03d4fe0535ac0fb6c8525db31ac88a018ddd
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0cecd492f516

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

end of thread, other threads:[~2026-03-13  3:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09 17:57 Need update to libbpf/bpftool for bpf_stream_vprintk() removal (kernel sha 0cecd492f516) Calvin Owens
2026-03-09 20:34 ` Quentin Monnet
2026-03-09 23:01   ` Calvin Owens
2026-03-13  3:29     ` Quentin Monnet

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