Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf event
From: Wangnan (F)
Date: Fri Aug 28 2015 - 22:37:47 EST
On 2015/8/29 10:22, Alexei Starovoitov wrote:
On 8/28/15 7:15 PM, Wangnan (F) wrote:
It is an option. Let's keep an open mind now :)
I'd like to see whether it is possible to create dynamic tracepoints so
different receivers can listen on different tracepoints.
see my proposal A. I think ftrace instances might work for this.
I'm not sure about 'format' part though. Kernel side shouldn't be
aware of it. It's only the contract between bpf program and user process
that deals with it.
For current patch 32/32, I think it is useful enough for some simple cases,
and we have already start using it internally. What about keep it as what it
is now and create a independent method for your usecase?
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/