Re: [PATCH 1/4] perf-probe: Avoid setting probes on same address on same event

2020-07-10 Thread Masami Hiramatsu
On Fri, 10 Jul 2020 16:48:47 +0530 Srikar Dronamraju wrote: > * Masami Hiramatsu [2020-07-09 17:07:01]: > > > There is a case that the several same-name symbols points > > same address. In that case, perf probe returns an error. > > > > E.g. > > > > With this patch; > > > > # perf probe -x

Re: [PATCH 1/4] perf-probe: Avoid setting probes on same address on same event

2020-07-10 Thread Srikar Dronamraju
* Masami Hiramatsu [2020-07-09 17:07:01]: > There is a case that the several same-name symbols points > same address. In that case, perf probe returns an error. > > E.g. > > With this patch; > > # perf probe -x /lib64/libc-2.30.so -a "memcpy arg1=%di" > Failed to find the location of the '

[PATCH 1/4] perf-probe: Avoid setting probes on same address on same event

2020-07-09 Thread Masami Hiramatsu
There is a case that the several same-name symbols points same address. In that case, perf probe returns an error. E.g. perf probe -x /lib64/libc-2.30.so -v -a "memcpy arg1=%di" probe-definition(0): memcpy arg1=%di symbol:memcpy file:(null) line:0 offset:0 return:0 lazy:(null) parsing arg