On 11/5/19 5:18 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Oct 28, 2019 at 10:30:15PM -0700, Andrii Nakryiko escreveu: >> Add encoding of DWARF's DW_TAG_subprogram_type into BTF's BTF_KIND_FUNC >> (plus corresponding BTF_KIND_FUNC_PROTO). Only exported functions are >> converted for now. This allows to capture all the exported kernel functions, >> same subset that's exposed through /proc/kallsyms. > > Applied, added these committer notes: thanks! > > The kernel has a lot of functions! :-) > > $ pahole -VJ vmlinux > /tmp/pahole-btf-encoding-verbose-output.txt > > $ grep -w FUNC /tmp/pahole-btf-encoding-verbose-output.txt | wc -l > 22871 yep. that's what I see in with my .config as well. Note these are global only. Now static funcs in there.