Skip to content

introduce btf_tracing_ids

Song Liu bpf netdev 3 versions – Applied

Status from this message: Applied. Thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied
  2. v22 patches 0 repliesSuperseded
  3. v11 patch 5 repliesSuperseded

Changes in v3 from the cover letter

1. Fix bug in task_iter.c. (Kernel test robot <[email protected]>)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2bpf: extend BTF_ID_LIST_GLOBAL with parameter for number of IDsinclude/linux/btf_ids.h kernel/bpf/btf.c net/core/filter.c+5 -91 reply
2/2bpf: introduce btf_tracing_idsinclude/linux/btf_ids.h kernel/bpf/bpf_task_storage.c kernel/bpf/btf.c +4 more+29 -171 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchYonghong Song
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 bpf-next 0/2] introduce btf_tracing_ids

Changes v2 => v3:
1. Fix bug in task_iter.c. (Kernel test robot <[email protected]>)

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