Skip to content

tracing/probes: Fix BTF structure member finder

Masami Hiramatsu (Google) linux-doc linux-perf-users linux-trace-kernel lkml 3 versions – In review

Get series with b4
b4 am 178827248631.123716.2627172171811720261.stgit@devnote2

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing/probes: Fix anon_stack check for unnamed bitfields in btf_find_struct_memberkernel/trace/trace_btf.c+6 -60 replies
2/3tracing/probes: Fix BTF kflag check for anonymous struct member accesskernel/trace/trace_btf.c kernel/trace/trace_btf.h kernel/trace/trace_probe.c+16 -112 replies
3/3tracing/probes: Fix code indent in get_bitoffset_of_field()kernel/trace/trace_probe.c+5 -51 reply

Reviews trailers per patch

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

PatchSteven Rostedt
1/3R-b
2/3R-b
3/3R-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 0/3] tracing/probes: Fix BTF structure member finder

Hi,

This is the 3rd version of fixes for the BTF structure member finder in trace_btf.c. Sashiko found 2 problems in it during reviewing the wprobe series.[1][2]
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

Here is the previous thread:
https://lore.kernel.org/all/178822361441.115597.11442662641658772793.stgit@devnote2/

This version decouple the indentation cleanup part from [2/3], and add a new cleanup patch[3/3].

Thanks,

---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935

Masami Hiramatsu (Google) (3):
tracing/probes: Fix anon_stack check for unnamed bitfields in btf_find_struct_member tracing/probes: Fix BTF kflag check for anonymous struct member access tracing/probes: Fix code indent in get_bitoffset_of_field()

 kernel/trace/trace_btf.c   |   31 +++++++++++++++++--------------
 kernel/trace/trace_btf.h   |    3 ++-
 kernel/trace/trace_probe.c |   15 ++++++++-------
 3 files changed, 27 insertions(+), 22 deletions(-)

--
Masami Hiramatsu (Google) <[email protected]>