Re: [RFC PATCH v2 03/15] perf bpf: Save pt_regs info from debuginfo

2015-05-25 Thread He Kuang
On 2015/5/24 21:31, Masami Hiramatsu wrote: > On 2015/05/24 17:27, He Kuang wrote: >> Save reg number in function convert_variable_location() instead of the >> register string name, so we can fetch the target register from bpf >> context register later. > > This is not needed because you can als

Re: [RFC PATCH v2 03/15] perf bpf: Save pt_regs info from debuginfo

2015-05-24 Thread Masami Hiramatsu
On 2015/05/24 17:27, He Kuang wrote: > Save reg number in function convert_variable_location() instead of the > register string name, so we can fetch the target register from bpf > context register later. This is not needed because you can also get reg number from reg string afterwards. Thank you

[RFC PATCH v2 03/15] perf bpf: Save pt_regs info from debuginfo

2015-05-24 Thread He Kuang
Save reg number in function convert_variable_location() instead of the register string name, so we can fetch the target register from bpf context register later. Signed-off-by: He Kuang --- tools/perf/util/include/dwarf-regs.h | 13 + tools/perf/util/probe-event.h| 1 + tool