lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 3/3] perf probe: Show better error message when failed to find variable

* 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.
>
> After this patch:
> $ perf probe --add 'generic_perform_write+118 bytes'
> Failed to find the location of bytes at this address.

What does this sentence mean? I thought 'address' means 'location of
bytes'. So the address identifies the location and obviously we know
that. So this message wants to say something else.

> Perhaps, it has been optimized out.
> Use -V with --range option to show variable location range.

This suggestion is useful.

> Error: Failed to add events.

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-05-11 12:01    [W:0.133 / U:8.044 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site