[PATCH 05/37] bpf tools: Load a program with different instances using preprocessor

2015-11-19 Thread Arnaldo Carvalho de Melo
From: Wang Nan This patch is a preparation for BPF prologue support which allows generating a series of BPF bytecode for fetching kernel data before calling program code. With the newly introduced multiple instances support, perf is able to create different prologues for different kprobe points.

[PATCH 05/37] bpf tools: Load a program with different instances using preprocessor

2015-11-19 Thread Arnaldo Carvalho de Melo
From: Wang Nan This patch is a preparation for BPF prologue support which allows generating a series of BPF bytecode for fetching kernel data before calling program code. With the newly introduced multiple instances support, perf is able to create different prologues for