Re: [BUG] perf tool: uprobe displays wrong argument value

2016-08-25 Thread Namhyung Kim
Hello, On Thu, Aug 25, 2016 at 04:11:47PM +0300, Yauheni Kaliuta wrote: > Hi, Jiri! > > > On Thu, 25 Aug 2016 14:02:50 +0200, Jiri Olsa wrote: > > [...] > > > Now here's where I got confused.. please continue reading only on your > own risk ;-) > > > The uprobe_events shows following

Re: [BUG] perf tool: uprobe displays wrong argument value

2016-08-25 Thread Yauheni Kaliuta
Hi, Jiri! > On Thu, 25 Aug 2016 14:02:50 +0200, Jiri Olsa wrote: [...] > Now here's where I got confused.. please continue reading only on your own > risk ;-) > The uprobe_events shows following record: > # cat uprobe_events > p:probe_ex/func > /home/jolsa/linux-p

[BUG] perf tool: uprobe displays wrong argument value

2016-08-25 Thread Jiri Olsa
hi, Michael reported wrong values for function arguments being shown when adding uprobe on function with argument, I dig in and got even more confused.. ;-) This is the testing binary: --- #include int func(int par) { return par; }