* He Kuang <hekuang@xxxxxxxxxx> wrote:
Hi, IngoYeah, absolutely! This highlights the importance of putting
On 2015/5/11 17:30, Ingo Molnar wrote:
* He Kuang <hekuang@xxxxxxxxxx> wrote:'generic_perform_write' is a function name, while 'bytes' is a local
Indicate to check variable location range in error message when we gotWhat does this sentence mean? I thought 'address' means 'location of
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.
bytes'. So the address identifies the location and obviously we know
that. So this message wants to say something else.
variable in this function. Maybe the variable I chose make you confused.
This maybe clear:
Failed to find the location of 'bytes' at this address.
user-supplied symbols into quotes and such.
Maybe even write:
Failed to find the location of the 'bytes' variable at this address.
Another question: what does 'generic_perform_write+118' mean here? Why
the offset?
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/