Re: [PATCH v3 3/3] perf probe: Show better error message when failed to find variable

Ingo Molnar
2015-05-11T09:31:28Z

* He Kuang <hekuang@huawei.com> wrote:

> Indicate to check variable location range in error message when we got
> failed to find the variable.
>
> Before this patch:
>
> $ perf probe --add 'generic_perform_write+118 bytes'
> Failed to find the location of bytes at this address.
> Perhaps, it has been optimized out.
> Error: Failed to add events.

Btw., you talk about 'variables', but generic_perform_write() is a
function name?

Thanks,

Ingo