mbox series

[v3,bpf-next,0/2] introduce btf_tracing_ids

Message ID 20211112150243.1270987-1-songliubraving@fb.com (mailing list archive)
Headers show
Series introduce btf_tracing_ids | expand

Message

Song Liu Nov. 12, 2021, 3:02 p.m. UTC
Changes v2 => v3:
1. Fix bug in task_iter.c. (Kernel test robot <lkp@intel.com>)

Changes v1 => v2:
1. Add patch 2/2. (Alexei)

1/2 fixes issue with btf_task_struct_ids w/o CONFIG_DEBUG_INFO_BTF.
2/2 replaces btf_task_struct_ids with easier to understand btf_tracing_ids.

Song Liu (2):
  bpf: extend BTF_ID_LIST_GLOBAL with parameter for number of IDs
  bpf: introduce btf_tracing_ids

 include/linux/btf_ids.h       | 20 ++++++++++++++++----
 kernel/bpf/bpf_task_storage.c |  4 ++--
 kernel/bpf/btf.c              |  8 ++++----
 kernel/bpf/stackmap.c         |  2 +-
 kernel/bpf/task_iter.c        | 12 ++++++------
 kernel/bpf/verifier.c         |  2 +-
 kernel/trace/bpf_trace.c      |  4 ++--
 net/core/filter.c             |  6 +-----
 8 files changed, 33 insertions(+), 25 deletions(-)

--
2.30.2

Comments

Alexei Starovoitov Nov. 12, 2021, 6:24 p.m. UTC | #1
On Fri, Nov 12, 2021 at 7:07 AM Song Liu <songliubraving@fb.com> wrote:
>
> Changes v2 => v3:
> 1. Fix bug in task_iter.c. (Kernel test robot <lkp@intel.com>)
>
> Changes v1 => v2:
> 1. Add patch 2/2. (Alexei)
>
> 1/2 fixes issue with btf_task_struct_ids w/o CONFIG_DEBUG_INFO_BTF.
> 2/2 replaces btf_task_struct_ids with easier to understand btf_tracing_ids.

Applied. Thanks