Re: [PATCH 28/39] bpf tools: Load a program with different instances using preprocessor

2015-07-12 Thread Wangnan (F)
On 2015/7/9 20:35, Wang Nan wrote: In this patch, caller of libbpf is able to control the loaded programs by installing a preprocessor callback for a BPF program. With preprocessor, different instances can be created from one BPF program. This patch will be used by perf to generate different p

[PATCH 28/39] bpf tools: Load a program with different instances using preprocessor

2015-07-09 Thread Wang Nan
In this patch, caller of libbpf is able to control the loaded programs by installing a preprocessor callback for a BPF program. With preprocessor, different instances can be created from one BPF program. This patch will be used by perf to generate different prologue for different 'struct probe_tra