btf_encoder: Use better fallback message
Jiri Olsa
reviewerPATCH 1/1 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.
Signed-off-by Jiri Olsa <[email protected]>
--- btf_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
btf_encoder.c +1 -1
@@ -510,7 +510,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 (); }
Signature · 1 line
2.26.2
Arnaldo Carvalho de Melo
AppliedEm Mon, Nov 16, 2020 at 09:24:58PM +0100, Jiri Olsa escreveu:
Quoted 2 lines
Using more suitable fallback message for the case when the ftrace filter can't be used because of missing symbols.
Thanks, applied.
- Arnaldo
Quoted 21 lines
Signed-off-by Jiri Olsa <[email protected]>--- btf_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)btf_encoder.c +1
-1@@ -510,7 +510,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 (); }Signature · 1 line
2.26.2
Signature · 1 line
- Arnaldo