Searched refs:syms (Results 1 - 25 of 52) sorted by relevance

123

/linux-master/arch/riscv/kernel/vdso/
H A DMakefile7 vdso-syms = rt_sigreturn
9 vdso-syms += vgettimeofday
11 vdso-syms += getcpu
12 vdso-syms += flush_icache
13 vdso-syms += hwprobe
14 vdso-syms += sys_hwprobe
17 obj-vdso = $(patsubst %, %.o, $(vdso-syms)) note.o
34 ifneq ($(filter vgettimeofday, $(vdso-syms)),)
75 $(OBJCOPY) $(patsubst %, -G __vdso_%, $(vdso-syms)) $@.tmp $@ && \
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dkprobe_multi_test.c120 const char *syms[8] = { local
131 opts.kprobe_multi.syms = syms;
132 opts.kprobe_multi.cnt = ARRAY_SIZE(syms);
198 const char *syms[8] = { local
209 opts.syms = syms;
210 opts.cnt = ARRAY_SIZE(syms);
220 const char *syms[2] = { local
249 /* fail_2 - both addrs and syms se
342 char *name = NULL, **syms = NULL; local
437 char **syms = NULL; local
[all...]
H A Dkprobe_multi_testmod_test.c71 const char *syms[3] = { local
77 opts.syms = syms;
78 opts.cnt = ARRAY_SIZE(syms);
H A Dbpf_cookie.c183 const char *syms[8] = { local
211 opts.syms = syms;
212 opts.cnt = ARRAY_SIZE(syms);
276 const char *syms[3] = { local
287 opts.syms = syms;
288 opts.cnt = ARRAY_SIZE(syms);
H A Duprobe_multi_test.c226 const char *syms[3] = { local
232 opts.syms = syms;
233 opts.cnt = ARRAY_SIZE(syms);
415 const char *syms[3] = { local
423 err = elf_resolve_syms_offsets(path, 3, syms, (unsigned long **) &offsets, STT_FUNC);
429 opts.uprobe_multi.cnt = ARRAY_SIZE(syms);
/linux-master/scripts/
H A Dmakelst20 t1=`$3 --syms $1 | grep .text | grep -m1 " F "`
H A Dlink-vmlinux.sh182 mksysmap ${kallsyms_vmlinux} ${kallsyms_vmlinux}.syms ${kallsymso_prev}
183 kallsyms ${kallsyms_vmlinux}.syms ${kallsyms_S}
297 if ! cmp -s System.map ${kallsyms_vmlinux}.syms; then
/linux-master/samples/fprobe/
H A Dfprobe_example.c93 const char **syms; local
121 syms = kcalloc(count, sizeof(char *), GFP_KERNEL);
122 if (!syms) {
129 syms[i] = strsep(&p, ",");
131 ret = register_fprobe_syms(&sample_probe, syms, count);
132 kfree(syms);
/linux-master/arch/csky/kernel/vdso/
H A DMakefile7 vdso-syms += rt_sigreturn
8 vdso-syms += vgettimeofday
11 obj-vdso = $(patsubst %, %.o, $(vdso-syms)) note.o
23 obj-y += vdso.o vdso-syms.o
39 $(obj)/vdso-syms.S: $(obj)/vdso.so FORCE
54 $(patsubst %, -G __vdso_%, $(vdso-syms)) $@.tmp $@ && \
/linux-master/tools/testing/selftests/bpf/
H A Dtrace_helpers.c24 struct ksym *syms; member in struct:ksyms
40 ksyms->syms[ksyms->sym_cnt].addr = addr;
41 ksyms->syms[ksyms->sym_cnt].name = tmp;
53 if (!ksyms->syms) {
59 free(ksyms->syms[i].name);
60 free(ksyms->syms);
94 ret = libbpf_ensure_mem((void **) &ksyms->syms, &ksyms->sym_cap,
103 qsort(ksyms->syms, ksyms->sym_cnt, sizeof(struct ksym), ksym_cmp);
133 result = key - ksyms->syms[mid].addr;
139 return &ksyms->syms[mi
[all...]
/linux-master/arch/sh/kernel/vsyscall/
H A DMakefile2 obj-y += vsyscall.o vsyscall-syscall.o vsyscall-syms.o
33 LDFLAGS_vsyscall-syms.o := -r -R
34 $(obj)/vsyscall-syms.o: $(obj)/vsyscall-dummy.o FORCE
/linux-master/arch/riscv/kernel/compat_vdso/
H A DMakefile7 compat_vdso-syms = rt_sigreturn
8 compat_vdso-syms += getcpu
9 compat_vdso-syms += flush_icache
28 obj-compat_vdso = $(patsubst %, %.o, $(compat_vdso-syms)) note.o
73 $(OBJCOPY) $(patsubst %, -G __compat_vdso_%, $(compat_vdso-syms)) $@.tmp $@ && \
/linux-master/arch/arm64/kernel/
H A Dmodule-plts.c157 static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num, argument
181 s = syms + ELF64_R_SYM(rela[i].r_info);
249 static bool branch_rela_needs_plt(Elf64_Sym *syms, Elf64_Rela *rela, argument
253 Elf64_Sym *s = syms + ELF64_R_SYM(rela->r_info);
263 static int partition_branch_plt_relas(Elf64_Sym *syms, Elf64_Rela *rela, argument
269 if (branch_rela_needs_plt(syms, &rela[i], dstidx))
271 else if (branch_rela_needs_plt(syms, &rela[j], dstidx))
285 Elf64_Sym *syms = NULL; local
302 syms = (Elf64_Sym *)sechdrs[i].sh_addr;
309 if (!syms) {
[all...]
/linux-master/arch/sparc/vdso/
H A Dvdso2c.h23 INT_BITS syms[NSYMS] = {}; local
91 if (syms[k]) {
99 * on syms[k] being a signed type of the
102 syms[k] = GET_BE(&sym->st_value);
108 if (syms[sym_vvar_start] % 8192)
137 if (required_syms[i].export && syms[i])
139 required_syms[i].name, (int64_t)syms[i]);
/linux-master/arch/x86/entry/vdso/
H A Dvdso2c.h56 INT_BITS syms[NSYMS] = {}; local
137 if (syms[k]) {
145 * on syms[k] being a signed type of the
148 syms[k] = GET_LE(&sym->st_value);
155 INT_BITS symval = syms[special_pages[i]];
163 if (symval + 4096 < syms[sym_vvar_start])
170 if (syms[sym_vvar_start] % 4096)
218 if (required_syms[i].export && syms[i])
220 required_syms[i].name, (int64_t)syms[i]);
/linux-master/include/linux/
H A Dfprobe.h67 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num);
79 static inline int register_fprobe_syms(struct fprobe *fp, const char **syms, int num) argument
/linux-master/arch/s390/boot/
H A DMakefile46 obj-all := $(obj-y) piggy.o syms.o
51 targets += vmlinux.bin.zst info.bin syms.bin vmlinux.syms $(obj-all)
85 LDFLAGS_vmlinux.syms := $(LDFLAGS_vmlinux-y) --oformat $(LD_BFD) -e startup -T
86 $(obj)/vmlinux.syms: $(obj)/vmlinux.lds $(OBJECTS) FORCE
94 $(obj)/syms.bin: $(obj)/vmlinux.syms FORCE
97 OBJCOPYFLAGS_syms.o := -I binary -O elf64-s390 -B s390:64-bit --rename-section .data=.decompressor.syms
98 $(obj)/syms.o: $(obj)/syms
[all...]
H A Dvmlinux.lds.S92 .decompressor.syms : {
96 *(.decompressor.syms)
/linux-master/kernel/trace/
H A Dfprobe.c159 static unsigned long *get_ftrace_locations(const char **syms, int num) argument
169 sort(syms, num, sizeof(*syms), symbols_cmp, NULL);
171 if (!ftrace_lookup_symbols(syms, num, addrs))
321 * @syms: An array of target symbols.
322 * @num: The number of entries of @syms.
324 * Register @fp to the symbols given by @syms array. This will be useful if
329 int register_fprobe_syms(struct fprobe *fp, const char **syms, int num) argument
334 if (!fp || !syms || num <= 0)
337 addrs = get_ftrace_locations(syms, nu
[all...]
/linux-master/tools/perf/util/
H A Dprint-events.h37 unsigned int type, const struct event_symbol *syms,
H A Dprint-events.c347 unsigned int type, const struct event_symbol *syms,
362 if (syms[i].symbol == NULL)
368 if (strlen(syms[i].alias)) {
371 snprintf(name, MAX_NAME_LEN, "%s OR %s", syms[i].symbol, syms[i].alias);
374 strlist__add(evt_name_list, syms[i].symbol);
346 print_symbol_events(const struct print_callbacks *print_cb, void *print_state, unsigned int type, const struct event_symbol *syms, unsigned int max) argument
H A Dlock-contention.h15 char **syms; member in struct:lock_filter
/linux-master/arch/arm/kernel/
H A Dmodule-plts.c157 static unsigned int count_plts(const Elf32_Sym *syms, Elf32_Addr base, argument
182 s = syms + ELF32_R_SYM(rel[i].r_info);
215 Elf32_Sym *syms = NULL; local
227 syms = (Elf32_Sym *)s->sh_addr;
234 if (!syms) {
255 core_plts += count_plts(syms, dstsec->sh_addr, rels,
258 init_plts += count_plts(syms, dstsec->sh_addr, rels,
/linux-master/lib/
H A Dtest_fprobe.c153 static const char *syms[] = {"fprobe_selftest_target", "fprobe_selftest_target2"}; local
160 KUNIT_EXPECT_EQ(test, 0, register_fprobe_syms(&fp, syms, 2));
197 static const char *syms[] = {"fprobe_selftest_target", "fprobe_selftest_nest_target"}; local
205 KUNIT_EXPECT_EQ(test, 0, register_fprobe_syms(&fp, syms, 2));
/linux-master/tools/lib/bpf/
H A Delf.c85 Elf_Data *syms; member in struct:elf_sym_iter
122 iter->syms = elf_getdata(scn, 0);
123 if (!iter->syms) {
128 iter->nr_syms = iter->syms->d_size / sh.sh_entsize;
165 if (!gelf_getsym(iter->syms, idx, sym))
403 * Return offsets in @poffsets for symbols specified in @syms array argument.
408 const char **syms, unsigned long **poffsets,
430 symbols[i].name = syms[i];
407 elf_resolve_syms_offsets(const char *binary_path, int cnt, const char **syms, unsigned long **poffsets, int st_type) argument

Completed in 439 milliseconds

123