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

From: Ingo Molnar
Date: Mon May 11 2015 - 05:31:31 EST



* He Kuang <hekuang@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/