perf probe: Misleading error message using function globbing

From: Arnaldo Carvalho de Melo
Date: Fri Sep 04 2015 - 11:42:05 EST


Hi Masami,

Could you please improve this?

[root@zoo ~]# perf probe -F do_f*
do_fb_ioctl
do_fbcon_takeover
do_file_open_root
do_filp_open
do_flush_tlb_all
do_free_callbacks
do_free_init
do_fsync
do_futex
[root@zoo ~]# perf probe -F do_fo*
no symbols found in [kernel.kallsyms], maybe install a debug package?
Failed to load symbols in kernel
[root@zoo ~]#

I.e. it _finds_ the symbol table, its just that the globbing failed, the
message should be improved, otherwise the user would start looking why
the debuginfo, that _is_ in place, is not being enough, I did :-)

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/