[PATCH kallsyms, bpf 0/3] kallsym_tree for dynamic ksymbols

From: Song Liu
Date: Thu Jan 17 2019 - 18:17:40 EST


This set includes Peter's work to merge multiple trees for different types
of dynamic kallsyms (BPF, ftrace, etc.). Symbols for BPF programs are
migrated to use kallsym_tree.

I have made minor changes to Peter's patches, and tested them with BPF
programs and perf utility.

Thanks,
Song

Peter Zijlstra (3):
rbtree_latch: Introduce latch_tree_first() and latch_tree_next()
kallsyms: Introduce kallsym_tree for dynamic symbols
bpf: migrate symbols for BPF programs to kallsym_tree

include/linux/bpf.h | 7 +-
include/linux/filter.h | 42 --------
include/linux/kallsyms.h | 16 +++
include/linux/rbtree_latch.h | 54 ++++++++++
kernel/bpf/core.c | 167 ++++-------------------------
kernel/events/core.c | 35 ------
kernel/extable.c | 6 +-
kernel/kallsyms.c | 201 ++++++++++++++++++++++++++++++++---
8 files changed, 281 insertions(+), 247 deletions(-)

--
2.17.1