Re: [PATCH 14/31] perf tools: Add BPF_PROLOGUE config options for further patches

2015-10-29 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 14, 2015 at 12:41:25PM +, Wang Nan escreveu: > If both LIBBPF and DWARF are detected, it is possible to create prologue > for eBPF programs to help them accessing kernel data. HAVE_BPF_PROLOGUE what kernel data? you mean to be able to map

Re: [PATCH 14/31] perf tools: Add BPF_PROLOGUE config options for further patches

2015-10-29 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 14, 2015 at 12:41:25PM +, Wang Nan escreveu: > If both LIBBPF and DWARF are detected, it is possible to create prologue > for eBPF programs to help them accessing kernel data. HAVE_BPF_PROLOGUE what kernel data? you mean to be able to map

[PATCH 14/31] perf tools: Add BPF_PROLOGUE config options for further patches

2015-10-14 Thread Wang Nan
If both LIBBPF and DWARF are detected, it is possible to create prologue for eBPF programs to help them accessing kernel data. HAVE_BPF_PROLOGUE and CONFIG_BPF_PROLOGUE is added as flags for this feature. PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET indicates an architecture supports converting name

[PATCH 14/31] perf tools: Add BPF_PROLOGUE config options for further patches

2015-10-14 Thread Wang Nan
If both LIBBPF and DWARF are detected, it is possible to create prologue for eBPF programs to help them accessing kernel data. HAVE_BPF_PROLOGUE and CONFIG_BPF_PROLOGUE is added as flags for this feature. PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET indicates an architecture supports converting name