[PATCH v3 0/3] tracing/probes: Fix BTF structure member finder
From: Masami Hiramatsu (Google)
Date: Tue Sep 01 2026 - 10:49:40 EST
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/20260822095110.0772E1F000E9@xxxxxxxxxxxxxxx/
[2] https://lore.kernel.org/all/20260830143859.D56991F00A3D@xxxxxxxxxxxxxxx/
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) <mhiramat@xxxxxxxxxx>