Re: [PATCH] tracing/user_events: Add eBPF interface for user_event created events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH] tracing/user_events: Add eBPF interface for user_event created events
- From: Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx>
- Date: Tue, 29 Mar 2022 12:50:40 -0700
- Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>, Masami Hiramatsu <mhiramat@xxxxxxxxxx>, linux-trace-devel <linux-trace-devel@xxxxxxxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, bpf <bpf@xxxxxxxxxxxxxxx>, Network Development <netdev@xxxxxxxxxxxxxxx>, linux-arch <linux-arch@xxxxxxxxxxxxxxx>, Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
- In-reply-to: <20220329181935.2183-1-beaub@linux.microsoft.com>
- References: <20220329181935.2183-1-beaub@linux.microsoft.com>
On Tue, Mar 29, 2022 at 11:19 AM Beau Belgrave
<beaub@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Send user_event data to attached eBPF programs for user_event based perf
> events.
>
> Add BPF_ITER flag to allow user_event data to have a zero copy path into
> eBPF programs if required.
>
> Update documentation to describe new flags and structures for eBPF
> integration.
>
> Signed-off-by: Beau Belgrave <beaub@xxxxxxxxxxxxxxxxxxx>
The commit describes _what_ it does, but says nothing about _why_.
At present I see no use out of bpf and user_events connection.
The whole user_events feature looks redundant to me.
We have uprobes and usdt. It doesn't look to me that
user_events provide anything new that wasn't available earlier.
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]