| /tools/objtool/include/objtool/ |
| D | elf.h | 33 struct section { struct 40 struct section *base, *rsec; argument 55 struct section *sec; argument 78 struct section *sec; 105 struct section *section_data; 111 struct section *elf_create_section(struct elf *elf, const char *name, 113 struct section *elf_create_section_pair(struct elf *elf, const char *name, 119 struct reloc *elf_init_reloc_text_sym(struct elf *elf, struct section *sec, 122 struct section *insn_sec, 125 struct reloc *elf_init_reloc_data_sym(struct elf *elf, struct section *sec, [all …]
|
| D | orc.h | 9 int write_orc_entry(struct elf *elf, struct section *orc_sec, 10 struct section *ip_sec, unsigned int idx, 11 struct section *insn_sec, unsigned long insn_off,
|
| D | special.h | 24 struct section *orig_sec; 27 struct section *new_sec;
|
| /tools/perf/util/ |
| D | config.c | 597 struct perf_config_section *section; in find_section() local 599 list_for_each_entry(section, sections, node) in find_section() 600 if (!strcmp(section->name, section_name)) in find_section() 601 return section; in find_section() 607 struct perf_config_section *section) in find_config_item() argument 611 list_for_each_entry(item, §ion->items, node) in find_config_item() 621 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local 623 if (!section) in add_section() 626 INIT_LIST_HEAD(§ion->items); in add_section() 627 section->name = strdup(section_name); in add_section() [all …]
|
| D | config.h | 58 #define perf_config_sections__for_each_entry(list, section) \ argument 59 list_for_each_entry(section, list, node) 75 #define perf_config_set__for_each_entry(set, section, item) \ argument 76 perf_config_sections__for_each_entry(&set->sections, section) \ 77 perf_config_items__for_each_entry(§ion->items, item)
|
| /tools/perf/ |
| D | builtin-config.c | 40 struct perf_config_section *section = NULL; in set_config() local 55 perf_config_items__for_each_entry(&set->sections, section) { in set_config() 56 if (!use_system_config && section->from_system_config) in set_config() 58 fprintf(fp, "[%s]\n", section->name); in set_config() 60 perf_config_items__for_each_entry(§ion->items, item) { in set_config() 75 struct perf_config_section *section; in show_spec_config() local 81 perf_config_items__for_each_entry(&set->sections, section) { in show_spec_config() 82 if (!strstarts(var, section->name)) in show_spec_config() 85 perf_config_items__for_each_entry(§ion->items, item) { in show_spec_config() 86 const char *name = var + strlen(section->name) + 1; in show_spec_config() [all …]
|
| /tools/testing/selftests/tc-testing/ |
| D | action.c | 12 __attribute__((section("action-ok"),used)) int action_ok(struct __sk_buff *s) in action_ok() 17 __attribute__((section("action-ko"),used)) int action_ko(struct __sk_buff *s) in action_ko() 23 char _license[] __attribute__((section("license"),used)) = "GPL";
|
| /tools/testing/selftests/x86/bugs/ |
| D | common.py | 108 section = elffile.get_section_by_name(section_name) 109 if section is None: 114 return section['sh_addr'], section['sh_offset'], section['sh_size'] 131 def get_instruction_from_vmlinux(elffile, section, virtual_address, target_address): argument 133 section_start = section['sh_addr'] 134 section_end = section_start + section['sh_size'] 140 code = section.data()[offset:offset + 16]
|
| /tools/include/nolibc/ |
| D | stackprotector.h | 21 __attribute__((weak,used,noreturn,section(".text.nolibc_stack_chk"))) 31 __attribute__((weak,noreturn,section(".text.nolibc_stack_chk"))) 37 __attribute__((weak,used,section(".data.nolibc_stack_chk")))
|
| D | string.h | 35 __attribute__((weak,unused,section(".text.nolibc_memmove"))) 59 __attribute__((weak,unused,section(".text.nolibc_memcpy"))) 76 __attribute__((weak,unused,section(".text.nolibc_memset"))) 127 __attribute__((weak,unused,section(".text.nolibc_strlen")))
|
| D | signal.h | 16 __attribute__((weak,unused,section(".text.nolibc_raise")))
|
| /tools/objtool/ |
| D | elf.c | 130 struct section *find_section_by_name(const struct elf *elf, const char *name) in find_section_by_name() 132 struct section *sec; in find_section_by_name() 142 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index() 145 struct section *sec; in find_section_by_index() 147 elf_hash_for_each_possible(section, sec, hash, idx) { in find_section_by_index() 167 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_symbol_by_offset() 180 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset) in find_func_by_offset() 193 struct symbol *find_symbol_containing(const struct section *sec, unsigned long offset) in find_symbol_containing() 209 int find_symbol_hole_containing(const struct section *sec, unsigned long offset) in find_symbol_hole_containing() 246 struct symbol *find_func_containing(struct section *sec, unsigned long offset) in find_func_containing() [all …]
|
| D | orc_gen.c | 20 struct section *insn_sec; 25 struct section *sec, unsigned long offset) in orc_list_add() 51 struct section *sec, *orc_sec; in orc_create()
|
| D | special.c | 61 static void reloc_to_sec_off(struct reloc *reloc, struct section **sec, in reloc_to_sec_off() 69 struct section *sec, int idx, in get_alt_entry() 143 struct section *sec; in special_get_alts()
|
| /tools/testing/selftests/bpf/progs/ |
| D | cgroup_getset_retval_hooks.c | 6 #define BPF_RETVAL_HOOK(name, section, ctx, expected_err) \ argument 7 __attribute__((__section__("?" section))) \
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | uretprobe_stack.c | 17 __attribute__((section("uprobe__target_4"))) 27 __attribute__((section("uprobe__target_3"))) 36 __attribute__((section("uprobe__target_2"))) 45 __attribute__((section("uprobe__target_1"))) 125 __attribute__((section("uretprobe_stack_sec")))
|
| /tools/include/linux/ |
| D | init.h | 15 #define __section(section) __attribute__((__section__(section))) argument
|
| /tools/testing/selftests/net/ |
| D | udpgro_frglist.sh | 43 ip -n "${PEER_NS}" link set veth1 xdp object ${BPF_FILE} section xdp 45 …add dev veth1 ingress prio 4 protocol ipv6 bpf object-file nat6to4.bpf.o section schedcls/ingress6… 46 …er add dev veth1 egress prio 4 protocol ip bpf object-file nat6to4.bpf.o section schedcls/egress4/…
|
| D | sample_ret0.bpf.c | 3 #define SEC(name) __attribute__((section(name), used))
|
| /tools/objtool/arch/loongarch/ |
| D | orc.c | 101 int write_orc_entry(struct elf *elf, struct section *orc_sec, in write_orc_entry() 102 struct section *ip_sec, unsigned int idx, in write_orc_entry() 103 struct section *insn_sec, unsigned long insn_off, in write_orc_entry()
|
| /tools/objtool/arch/x86/ |
| D | orc.c | 100 int write_orc_entry(struct elf *elf, struct section *orc_sec, in write_orc_entry() 101 struct section *ip_sec, unsigned int idx, in write_orc_entry() 102 struct section *insn_sec, unsigned long insn_off, in write_orc_entry()
|
| /tools/testing/selftests/sgx/ |
| D | sign_key.S | 6 .section ".rodata", "a"
|
| /tools/power/acpi/ |
| D | Makefile.config | 88 STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment
|
| /tools/testing/selftests/x86/ |
| D | clang_helpers_32.S | 11 .section .note.GNU-stack,"",%progbits
|
| /tools/perf/tests/ |
| D | attr.py | 256 for section in filter(self.is_event, parser_event.sections()): 258 parser_items = parser_event.items(section); 262 if (':' in section): 263 base = section[section.index(':') + 1:] 268 e = Event(section, parser_items, base_items) 269 events[section] = e
|