Message ID | 20181119232906.144809-1-kafai@fb.com |
---|---|
Headers | show |
Series | bpf: Add btf func info support | expand |
On 19/11/18 23:29, Martin KaFai Lau wrote: > The BTF support was added to kernel by Commit 69b693f0aefa > ("bpf: btf: Introduce BPF Type Format (BTF)"), which introduced > .BTF section into ELF file and is primarily > used for map pretty print. > pahole is used to convert dwarf to BTF for ELF files. > > This patch added func info support to the kernel so we can > get better ksym's for bpf function calls. Basically, > function call types are passed to kernel and the kernel > extract function names from these types in order to contruct ksym > for these functions. > > [...] Acked-by: Edward Cree <ecree@solarflare.com>
On Tue, Nov 20, 2018 at 11:26:37AM +0000, Edward Cree wrote: > On 19/11/18 23:29, Martin KaFai Lau wrote: > > The BTF support was added to kernel by Commit 69b693f0aefa > > ("bpf: btf: Introduce BPF Type Format (BTF)"), which introduced > > .BTF section into ELF file and is primarily > > used for map pretty print. > > pahole is used to convert dwarf to BTF for ELF files. > > > > This patch added func info support to the kernel so we can > > get better ksym's for bpf function calls. Basically, > > function call types are passed to kernel and the kernel > > extract function names from these types in order to contruct ksym > > for these functions. > > > > [...] > > Acked-by: Edward Cree <ecree@solarflare.com> Applied to bpf-next. Thank you everyone.