[PATCH] perf probe: Try to use symbol table if searching debug info failed

2015-08-19 Thread Wang Nan
A problem can occure in statically linked perf when vmlinux can be found: # perf probe --add sys_epoll_pwait probe-definition(0): sys_epoll_pwait symbol:sys_epoll_pwait file:(null) line:0 offset:0 return:0 lazy:(null) 0 arguments Looking at the vmlinux_path (7 entries long) Using

[PATCH] perf probe: Try to use symbol table if searching debug info failed

2015-08-19 Thread Wang Nan
A problem can occure in statically linked perf when vmlinux can be found: # perf probe --add sys_epoll_pwait probe-definition(0): sys_epoll_pwait symbol:sys_epoll_pwait file:(null) line:0 offset:0 return:0 lazy:(null) 0 arguments Looking at the vmlinux_path (7 entries long) Using