]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: also show process name/pid in bpf_jit_dump
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 30 Jul 2015 10:42:49 +0000 (12:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 18:13:21 +0000 (11:13 -0700)
commitd98256c159e60fa324e47aab02db4710e6298599
tree2de35c3471c854eb4e79fc504d19cd3dc688c896
parent60f63e4231594d6bc3880b8dc4b8de3390ac18a7
bpf: also show process name/pid in bpf_jit_dump

It can be useful for testing to see the actual process/pid who is loading
a given filter. I was running some BPF test program and noticed unusual
filter loads from time to time, triggered by some other application in the
background. bpf_jit_disasm is still working after this change.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/filter.h