On Fri, Oct 12, 2018 at 11:54:20AM -0700, Yonghong Song 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. > > The next step would be add func type info and debug line info > into BTF. For debug line info, it is desirable to encode > source code directly in the BTF to ease deployment and > introspection.
it's kinda confusing that cover letter talks about line info next step, but these kernel side patches are only for full prog name from btf. It certainly makes sense for llvm to do both at the same time. Please make the cover letter more clear.