Re: [PATCH bpf-next v2 1/8] bpf: btf: refactor btf_int_bits_seq_show()

2018-12-15 Thread Martin Lau
On Fri, Dec 14, 2018 at 03:34:26PM -0800, Yonghong Song wrote: > Refactor function btf_int_bits_seq_show() by creating > function btf_bitfield_seq_show() which has no dependence > on btf and btf_type. The function btf_bitfield_seq_show() > will be in later patch to directly dump bitfield member val

[PATCH bpf-next v2 1/8] bpf: btf: refactor btf_int_bits_seq_show()

2018-12-14 Thread Yonghong Song
Refactor function btf_int_bits_seq_show() by creating function btf_bitfield_seq_show() which has no dependence on btf and btf_type. The function btf_bitfield_seq_show() will be in later patch to directly dump bitfield member values. Signed-off-by: Yonghong Song --- kernel/bpf/btf.c | 35