/linux-master/tools/perf/scripts/python/ |
H A D | net_dropmonitor.py | 17 kallsyms = [] variable 20 global kallsyms 23 f = open("/proc/kallsyms", "r") 30 kallsyms.append((loc, name)) 31 kallsyms.sort() 36 # Invariant: kallsyms[i][0] <= loc for all 0 <= i <= start 37 # kallsyms[i][0] > loc for all end <= i < len(kallsyms) 38 start, end = -1, len(kallsyms) 41 if loc < kallsyms[pivo [all...] |
/linux-master/kernel/module/ |
H A D | kallsyms.c | 3 * Module kallsyms support 10 #include <linux/kallsyms.h> 182 mod->kallsyms = (void __rcu *)init_data_base + 187 rcu_dereference(mod->kallsyms)->symtab = (void *)symsec->sh_addr; 188 rcu_dereference(mod->kallsyms)->num_symtab = symsec->sh_size / sizeof(Elf_Sym); 190 rcu_dereference(mod->kallsyms)->strtab = 192 rcu_dereference(mod->kallsyms)->typetab = init_data_base + info->init_typeoffs; 195 * Now populate the cut down core kallsyms for after init 202 src = rcu_dereference(mod->kallsyms)->symtab; 203 for (ndst = i = 0; i < rcu_dereference(mod->kallsyms) 247 kallsyms_symbol_name(struct mod_kallsyms *kallsyms, unsigned int symnum) argument 263 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); local 391 struct mod_kallsyms *kallsyms; local 417 struct mod_kallsyms *kallsyms = rcu_dereference_sched(mod->kallsyms); local 486 struct mod_kallsyms *kallsyms; local [all...] |
H A D | Makefile | 19 obj-$(CONFIG_KALLSYMS) += kallsyms.o
|
/linux-master/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_args_symbol.tc | 8 if [ ! -f /proc/kallsyms ]; then 11 elif ! grep "$SYMBOL\$" /proc/kallsyms; then
|
H A D | kprobe_eventname.tc | 8 FUNC=`grep " [tT] .*vfs_read$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " "` 28 grep -m 10 " [tT] .*\.isra\..*$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " " 32 grep " [tT] .*\.isra\..*" /proc/kallsyms | cut -f 3 -d " " | while read f; do
|
H A D | multiple_kprobes.tc | 16 grep -i " t " /proc/kallsyms | cut -f3 -d" " | grep -v .*\\..* | \
|
H A D | probepoint.tc | 24 set_offs `grep -v __pfx_ /proc/kallsyms | grep -A1 -B1 ${TARGET_FUNC} | cut -f 1 -d " " | xargs`
|
H A D | kprobe_args_syntax.tc | 10 if ! grep -qw ${GOODSYM} /proc/kallsyms ; then 14 SYMADDR=0x`grep -w ${GOODSYM} /proc/kallsyms | cut -f 1 -d " "`
|
/linux-master/kernel/ |
H A D | ksyms_common.c | 3 * ksyms_common.c: A split of kernel/kallsyms.c 6 #include <linux/kallsyms.h> 21 * We show kallsyms information even to normal users if we've enabled
|
/linux-master/tools/testing/selftests/net/ |
H A D | run_afpackettests | 27 if [ -f /proc/kallsyms ]; then
|
/linux-master/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 116 struct machine kallsyms; member in struct:test__vmlinux_matches_kallsyms_cb_args 126 * If it is the kernel, kallsyms is always "[kernel.kallsyms]", while 131 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, 154 pair = maps__find(args->kallsyms.kmaps, mem_start); 160 pr_info("WARN: Maps in vmlinux with a different name in kallsyms:\n"); 164 pr_info("WARN: %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s in kallsyms as", 182 pr_info("WARN: Maps only in kallsyms:\n"); 206 * both vmlinux + .ko files and from /proc/kallsyms split by modules. 208 machine__init(&args.kallsyms, "", HOST_KERNEL_I [all...] |
/linux-master/lib/ |
H A D | debug_info.c | 15 #include <linux/kallsyms.h>
|
/linux-master/scripts/ |
H A D | link-vmlinux.sh | 92 # The kallsyms linking does not need debug symbols included. 93 if [ "$output" != "${output#.tmp_vmlinux.kallsyms}" ] ; then 148 kallsyms() function 169 scripts/kallsyms ${kallsymopt} ${1} > ${2} 172 # Perform one step in kallsyms generation, including temporary linking of 177 kallsyms_vmlinux=.tmp_vmlinux.kallsyms${1} 183 kallsyms ${kallsyms_vmlinux}.syms ${kallsyms_S} 242 # kallsyms support 247 # Running kallsyms on that gives us .tmp_kallsyms1.o with 255 # introduces new names, which further expands kallsyms [all...] |
/linux-master/arch/x86/um/ |
H A D | sysrq_32.c | 10 #include <linux/kallsyms.h>
|
/linux-master/drivers/tty/ |
H A D | tty_mutex.c | 4 #include <linux/kallsyms.h>
|
/linux-master/arch/riscv/kernel/probes/ |
H A D | decode-insn.c | 6 #include <linux/kallsyms.h>
|
/linux-master/tools/testing/selftests/ftrace/test.d/filter/ |
H A D | event-filter-function.tc | 48 address=`grep " ${target_func}\$" /proc/kallsyms | cut -d' ' -f1`
|
/linux-master/arch/csky/kernel/probes/ |
H A D | decode-insn.c | 6 #include <linux/kallsyms.h>
|
/linux-master/tools/perf/bench/ |
H A D | kallsyms-parse.c | 3 * Benchmark of /proc/kallsyms parsing. 12 #include <symbol/kallsyms.h> 23 "perf bench internals kallsyms-parse <options>", 48 err = kallsyms__parse("/proc/kallsyms", NULL,
|
/linux-master/arch/powerpc/platforms/cell/ |
H A D | pervasive.c | 17 #include <linux/kallsyms.h>
|
H A D | spu_callbacks.c | 8 #include <linux/kallsyms.h>
|
/linux-master/arch/um/kernel/ |
H A D | stacktrace.c | 8 #include <linux/kallsyms.h>
|
H A D | sysrq.c | 7 #include <linux/kallsyms.h>
|
/linux-master/kernel/trace/ |
H A D | trace_preemptirq.c | 8 #include <linux/kallsyms.h>
|
/linux-master/samples/hw_breakpoint/ |
H A D | data_breakpoint.c | 19 #include <linux/kallsyms.h>
|