RFC Export information needed by the LTTng kernel tracer
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest9 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | tracepoint: call vmalloc_sync_mappings() on registrationkernel/ | +2 | 0 replies | |
| 2/9 | bpf: allow up to 13 arguments for tracepointsinclude/ include/ include/ +1 more | +13 | 0 replies | |
| 3/9 | writeback: tracing: pass global_wb_domain as tracepoint parameterinclude/ mm/ | +15 | 2 replies | |
| 4/9 | stacktrace: export-GPL stack_trace_save_userkernel/ | +1 | 1 reply | |
| 5/9 | sched: export-GPL task_priokernel/ | +1 | 0 replies | |
| 6/9 | mm: export-GPL get_pageblock_migratetypemm/ | +1 | 1 reply | |
| 7/9 | block: genhd: export-GPL gendisk_nameblock/ block/ block/ +2 more | +11 | 0 replies | |
| 8/9 | block: genhd: export-GPL generic disk device typeblock/ include/ | +11 | 4 replies | |
| 9/9 | block: genhd: export-GPL generic disk block classblock/ block/ drivers/ +4 more | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/9] Export information needed by the LTTng kernel tracer
Recently commit 0bd476e6c6 "kallsyms: unexport kallsyms_lookup_name() and kallsyms_on_each_symbol()" was merged upstream. As discussed previously [1], LTTng-modules (a GPL kernel tracer module) currently uses kallsyms to lookup some missing symbols.
This patch set integrates the required changes to the kernel code wherever those changes are generally useful, and adds a few GPL-exports targeting the information currently missing so LTTng modules can be entirely free of kallsyms.
Feedback is welcome,
Thanks,
Mathieu
[1] https://lore.kernel.org/r/20200302192811.n6o5645rsib44vco@localhost
Mathieu Desnoyers (9):
tracepoint: call vmalloc_sync_mappings() on registration
bpf: allow up to 13 arguments for tracepoints
writeback: tracing: pass global_wb_domain as tracepoint parameter
stacktrace: export-GPL stack_trace_save_user
sched: export-GPL task_prio
mm: export-GPL get_pageblock_migratetype
block: genhd: export-GPL gendisk_name
block: genhd: export-GPL generic disk device type
block: genhd: export-GPL generic disk block class
block/bio.c | 2 +- block/blk-settings.c | 2 +- block/blk.h | 2 +- block/genhd.c | 38 ++++++++++++++++++++++++-------- block/partitions/core.c | 4 ++-- drivers/base/class.c | 2 +- drivers/base/core.c | 15 +++++++------ drivers/base/devtmpfs.c | 2 +- include/linux/genhd.h | 4 +++- include/linux/kernel.h | 6 ++--- include/linux/trace_events.h | 3 +++ include/trace/bpf_probe.h | 3 ++- include/trace/events/writeback.h | 17 ++++++++------ init/do_mounts.c | 4 ++-- kernel/sched/core.c | 1 + kernel/stacktrace.c | 1 + kernel/trace/bpf_trace.c | 8 ++++--- kernel/tracepoint.c | 2 ++ mm/page-writeback.c | 9 ++++---- mm/page_alloc.c | 1 + 20 files changed, 82 insertions(+), 44 deletions(-)
Signature · 1 line
2.17.1