btf_encoder: Detect kernel modules
Status from this message: Thanks, applied the three patches in this series,
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 6 repliesApplied
- v1 RFC2 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- initialize return arguments in get_vmlinux_addrs [Andrii]
- use elf_getscn in elf_section_by_idx [Andrii]
- use address size from ELF's class for both kmod and vmlinux
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btf_encoder: Factor filter_functions functionbtf_encoder.c | +41 | 1 reply | |
| 2/3 | btf_encoder: Use address size based on ELF's classbtf_encoder.c | +17 | 3 replies | |
| 3/3 | btf_encoder: Detect kernel module ftrace addressesbtf_encoder.c dutil.c dutil.h | +109 | 2 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Andrii Nakryiko |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 | T-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 0/3] btf_encoder: Detect kernel modules
hi,
adding support to detect kernel module and use its mcount_loc section data as function filter.
v2 changes:
- initialize return arguments in get_vmlinux_addrs [Andrii]
- use elf_getscn in elf_section_by_idx [Andrii]
- use address size from ELF's class for both kmod and vmlinux
thanks,
jirka
---
Jiri Olsa (3):
btf_encoder: Factor filter_functions function
btf_encoder: Use address size based on ELF's class
btf_encoder: Detect kernel module ftrace addresses
btf_encoder.c | 179 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------- dutil.c | 10 ++++++++ dutil.h | 2 ++ 3 files changed, 164 insertions(+), 27 deletions(-)