Re: latency histogram with BPF

From: Alexei Starovoitov
Date: Fri Jun 12 2015 - 13:21:46 EST


On 6/11/15 11:58 PM, Wangnan (F) wrote:
Is it possible to make 'uapi/linux/bpf.h' hold something useful for
eBPF programming, so we can get rid from bpf_helpers?

that won't be right. uapi headers suppose to have things
needed for both kernel and user space, not user space only.
I think it's better for 'perf' package to install such extra .h
into /usr/... during 'apt-get install'
--
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/