[PATCH 24/27] perf probe: Skip if the function address is 0

2016-09-29 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Skip probes if the entry address of the target function is 0. This can happen when we're handling C++ debuginfo files. E.g. without this fix, below case still fail. $ ./perf probe -x /usr/lib64/libstdc++.so.6 -vD is_open

[PATCH 24/27] perf probe: Skip if the function address is 0

2016-09-29 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Skip probes if the entry address of the target function is 0. This can happen when we're handling C++ debuginfo files. E.g. without this fix, below case still fail. $ ./perf probe -x /usr/lib64/libstdc++.so.6 -vD is_open probe-definition(0): is_open