All of lore.kernel.org
 help / color / mirror / Atom feed
* Is BTF info sufficient enough for BPFTrace and other debug tools to run ?
@ 2022-09-28 19:17 Johnny young
  2022-09-29 21:35 ` Stephen Brennan
  0 siblings, 1 reply; 3+ messages in thread
From: Johnny young @ 2022-09-28 19:17 UTC (permalink / raw)
  To: bpf

Hello BPF

I understand that CONFIG_DEBUG_INFO_BTF=y will generate .BTF and
.BTF_xx  sections in the kernel image which are much smaller than
those DWARF sections.  But I also try to understand how BTF can impact
bpftrace and the existing debug tools:

1) If the kernel is built with CONFIG_DEBUG_INFO_BTF=y, can
bpftrace relies on BTF only without kernel_devel ?

2) Can the existing kernel debugging tools like crash(1) or
kgdb(1) take advantage of BTF ?

3) If the kernel is built with CONFIG_DEBUG_INFO_BTF=y, are the
symbolic info and types info in the debug-info section replaced with
BTF formatted info?

4) Given the current upstream development effort for BTF, can we run
bpftrace without LLVM now ? and can we run bpftrace without the help
of kernel header files (kernel-devel) ?

5) Has bpf CO-RE become reality now?

Thank you!
Johnny

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

end of thread, other threads:[~2022-09-30 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 19:17 Is BTF info sufficient enough for BPFTrace and other debug tools to run ? Johnny young
2022-09-29 21:35 ` Stephen Brennan
2022-09-30 21:48   ` Johnny young

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.