btf_encoder: Use better fallback message
Using more suitable fallback message for the case when the ftrace filter can't be used because of missing symbols. Committer notes: Before: vmlinux not detected, falling back to dwarf data Now: ftrace symbols not detected, falling back to DWARF data Signed-off-by: Jiri Olsa <jolsa@kernel.org> Requested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Andrii Nakryiko <andriin@fb.com> Cc: Hao Luo <haoluo@google.com> Cc: Yonghong Song <yhs@fb.com> Cc: bpf@vger.kernel.org Cc: dwarves@vger.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
d06048c530
commit
b3dd4f3c3d
|
@ -511,7 +511,7 @@ static int collect_symbols(struct btf_elf *btfe, bool collect_percpu_vars)
|
|||
printf("Found %d functions!\n", functions_cnt);
|
||||
} else {
|
||||
if (btf_elf__verbose)
|
||||
printf("vmlinux not detected, falling back to dwarf data\n");
|
||||
printf("ftrace symbols not detected, falling back to DWARF data\n");
|
||||
delete_functions();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue