[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181206013543.2803263-1-kafai@fb.com>
Date: Wed, 5 Dec 2018 17:35:43 -0800
From: Martin KaFai Lau <kafai@...com>
To: <netdev@...r.kernel.org>
CC: <kernel-team@...com>, Yonghong Song <yhs@...com>
Subject: [PATCH bpf-next 0/4] Misc improvements on bpf_func_info
The patchset has a few improvements on bpf_func_info:
1. Improvements on the behaviors of info.func_info, info.func_info_cnt
and info.func_info_rec_size.
2. Name change: s/insn_offset/insn_off/
Please see individual patch for details.
Martin KaFai Lau (4):
bpf: Improve the info.func_info and info.func_info_rec_size behavior
bpf: Change insn_offset to insn_off in bpf_func_info
bpf: tools: Sync uapi bpf.h for the name changes in bpf_func_info
bpf: Expect !info.func_info and insn_off name changes in
test_btf/libbpf/bpftool
include/uapi/linux/bpf.h | 2 +-
kernel/bpf/core.c | 2 +-
kernel/bpf/syscall.c | 46 +++++++++++---------------
kernel/bpf/verifier.c | 18 +++++-----
tools/bpf/bpftool/prog.c | 7 ++++
tools/bpf/bpftool/xlated_dumper.c | 4 +--
tools/include/uapi/linux/bpf.h | 2 +-
tools/lib/bpf/btf.c | 12 +++----
tools/testing/selftests/bpf/test_btf.c | 8 ++++-
9 files changed, 54 insertions(+), 47 deletions(-)
--
2.17.1
Powered by blists - more mailing lists