[PATCH 17/22] perf tools: Use same BPF program if arguments are identical

2015-09-23 Thread Wang Nan
This patch allows creating only one BPF program for different 'probe_trace_event'(tev) generated by one 'perf_probe_event'(pev), if their prologues are identical. This is done by comparing argument list of different tev, and maps type of prologue and tev using a mapping array. This patch utilizes

[PATCH 17/22] perf tools: Use same BPF program if arguments are identical

2015-09-23 Thread Wang Nan
This patch allows creating only one BPF program for different 'probe_trace_event'(tev) generated by one 'perf_probe_event'(pev), if their prologues are identical. This is done by comparing argument list of different tev, and maps type of prologue and tev using a mapping array. This patch utilizes