Re: [RFC PATCH 2/3] tracing, perf: Implement BPF programs attached to uprobes

From: Alexei Starovoitov
Date: Fri Jun 26 2015 - 04:47:03 EST


On 6/25/15 3:37 AM, Wang Nan wrote:
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 programs
and kernel events together using BPF.

Signed-off-by: Wang Nan <wangnan0@xxxxxxxxxx>

That's great.
Acked-by: Alexei Starovoitov <ast@xxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/