[RFC PATCH v9 01/50 -fix] tracing, perf: Implement BPF programs attached to uprobes

2015-06-27 Thread Wang Nan
By copying BPF related operation to uprobe processing path, this patch allow users attach BPF programs to uprobes like what they are already doing on kprobes. After this patch, users are allowed to use PERF_EVENT_IOC_SET_BPF on a uprobe perf event. Which make it possible to profile user space

[RFC PATCH v9 01/50 -fix] tracing, perf: Implement BPF programs attached to uprobes

2015-06-27 Thread Wang Nan
By copying BPF related operation to uprobe processing path, this patch allow users attach BPF programs to uprobes like what they are already doing on kprobes. After this patch, users are allowed to use PERF_EVENT_IOC_SET_BPF on a uprobe perf event. Which make it possible to profile user space