OpenCloudOS-Kernel/arch/sparc/net
Daniel Borkmann 485d6511e7 bpf, x86/sparc: show actual number of passes in bpf_jit_dump
When bpf_jit_compile() got split into two functions via commit
f3c2af7ba1 ("net: filter: x86: split bpf_jit_compile()"), bpf_jit_dump()
was changed to always show 0 as number of compiler passes. Change it to
dump the actual number. Also on sparc, we count passes starting from 0,
so add 1 for the debug dump as well.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-30 11:13:21 -07:00
..
Makefile net: filter: Just In Time compiler for sparc 2012-04-16 23:15:14 -04:00
bpf_jit.h net: filter: Fix some more small issues in sparc JIT. 2012-04-17 16:43:46 -04:00
bpf_jit_asm.S sparc: bpf_jit: fix loads from negative offsets 2014-09-24 15:04:07 -04:00
bpf_jit_comp.c bpf, x86/sparc: show actual number of passes in bpf_jit_dump 2015-07-30 11:13:21 -07:00