bpf: let kprobe programs use bpf_get_smp_processor_id() helper
It's useful to do per-cpu histograms. Suggested-by: NDaniel Wagner <daniel.wagner@bmw-carit.de> Signed-off-by: NAlexei Starovoitov <ast@plumgrid.com> Acked-by: NDaniel Borkmann <daniel@iogearbox.net> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录