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

2015-05-09 Thread Masami Hiramatsu
On 2015/05/09 18:55, He Kuang 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,

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

2015-05-09 Thread He Kuang
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

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

2015-05-09 Thread Masami Hiramatsu
On 2015/05/09 18:55, He Kuang 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

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

2015-05-09 Thread He Kuang
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