Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1453049

Re: [RFC] perf uprobe: Skip prologue if program compiled without optimization

From Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [RFC] perf uprobe: Skip prologue if program compiled without optimization
Date 2016-08-01 11:10 +0200
Message-ID <s1hot-4kK-7@gated-at.bofh.it> (permalink)
References <rZUDD-7vd-17@gated-at.bofh.it> <s0sP0-5mU-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Saturday 30 July 2016 08:34 AM, Masami Hiramatsu wrote:
> On Thu, 28 Jul 2016 20:01:51 +0530
> Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> wrote:
>
>> Function prologue prepares stack and registers before executing function
>> logic. When target program is compiled without optimization, function
>> parameter information is only valid after prologue. When we probe entrypc
>> of the function, and try to record function parameter, it contains
>> garbage value.
> Right! :)

Thanks Masami for review.

I've sent patch with changes you suggested. Please review it.

-Ravi

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC] perf uprobe: Skip prologue if program compiled without optimization Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> - 2016-07-28 16:40 +0200
  Re: [RFC] perf uprobe: Skip prologue if program compiled without  optimization Masami Hiramatsu <mhiramat@kernel.org> - 2016-07-30 05:10 +0200
    Re: [RFC] perf uprobe: Skip prologue if program compiled without  optimization Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> - 2016-08-01 11:10 +0200

csiph-web