mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-25 14:18:52 +07:00
![]() Existing BTF_ID_LIST used a local static variable to store btf_ids. This patch provided a new macro BTF_ID_LIST_GLOBAL to store btf_ids in a global variable which can be shared among multiple files. The existing BTF_ID_LIST is still retained. Two reasons. First, BTF_ID_LIST is also used to build btf_ids for helper arguments which typically is an array of 5. Since typically different helpers have different signature, it makes little sense to share them. Second, some current computed btf_ids are indeed local. If later those btf_ids are shared between different files, they can use BTF_ID_LIST_GLOBAL then. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Jiri Olsa <jolsa@redhat.com> Link: https://lore.kernel.org/bpf/20200720163401.1393159-1-yhs@fb.com |
||
---|---|---|
.. | ||
sched | ||
unaligned | ||
atomic.h | ||
bitmap.h | ||
bitops.h | ||
bits.h | ||
btf_ids.h | ||
bug.h | ||
build_bug.h | ||
compiler-gcc.h | ||
compiler.h | ||
const.h | ||
coresight-pmu.h | ||
ctype.h | ||
debug_locks.h | ||
delay.h | ||
err.h | ||
export.h | ||
filter.h | ||
ftrace.h | ||
gfp.h | ||
hardirq.h | ||
hash.h | ||
hashtable.h | ||
interrupt.h | ||
irqflags.h | ||
jhash.h | ||
kallsyms.h | ||
kern_levels.h | ||
kernel.h | ||
linkage.h | ||
list.h | ||
lockdep.h | ||
log2.h | ||
module.h | ||
mutex.h | ||
nmi.h | ||
numa.h | ||
overflow.h | ||
poison.h | ||
proc_fs.h | ||
rbtree_augmented.h | ||
rbtree.h | ||
rcu.h | ||
refcount.h | ||
ring_buffer.h | ||
seq_file.h | ||
sizes.h | ||
spinlock.h | ||
stacktrace.h | ||
string.h | ||
stringify.h | ||
time64.h | ||
types.h | ||
zalloc.h |