Perf misreports userspace args to unoptimized functions

2016-03-24 Thread Dima Kogan
Hi. I'm seeing an issue with the way perf interfaces with uprobes that results in incorrect printing of function arguments under fairly normal conditions. Example: Let's say I have a trivial C program tst.c: = #include #include int f(int x) { return

Perf misreports userspace args to unoptimized functions

2016-03-24 Thread Dima Kogan
Hi. I'm seeing an issue with the way perf interfaces with uprobes that results in incorrect printing of function arguments under fairly normal conditions. Example: Let's say I have a trivial C program tst.c: = #include #include int f(int x) { return