libtraceevent: Warn when kallsyms exits due to parsing error

If the kallsyms has a corrupted line, it will exit the parsing. This can
be confusing to users that expect to see function address converted into
names.

Add a tep_warning() when this happens. At least the library will warn
about it (although trace-cmd requires --verbose to see it).

Link: https://lore.kernel.org/all/355D2478-33D3-4046-8422-E512F42C51BC@oracle.com/
Link: https://lore.kernel.org/linux-trace-devel/20220628112131.3f306e97@gandalf.local.home

Reported-by: Chuck Lever III <chuck.lever@oracle.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 file changed