/tools/objtool/ |
D | elf.h | 28 struct section { struct 36 struct section *base, *reloc; argument 51 struct section *sec; argument 74 struct section *sec; 109 static inline u32 sec_offset_hash(struct section *sec, unsigned long offset) in sec_offset_hash() 129 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t… 131 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset, 133 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec, 135 struct section *insn_sec, unsigned long insn_off); 137 int elf_write_insn(struct elf *elf, struct section *sec, [all …]
|
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() 141 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index() 144 struct section *sec; in find_section_by_index() 164 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_symbol_by_offset() 178 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset) in find_func_by_offset() 192 struct symbol *find_symbol_containing(const struct section *sec, unsigned long offset) in find_symbol_containing() 206 struct symbol *find_func_containing(struct section *sec, unsigned long offset) in find_func_containing() 231 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, in find_reloc_by_dest_range() 260 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) in find_reloc_by_dest() [all …]
|
D | orc_gen.c | 89 static int write_orc_entry(struct elf *elf, struct section *orc_sec, in write_orc_entry() 90 struct section *ip_sec, unsigned int idx, in write_orc_entry() 91 struct section *insn_sec, unsigned long insn_off, in write_orc_entry() 111 struct section *insn_sec; 116 struct section *sec, unsigned long offset) in orc_list_add() 142 struct section *sec, *orc_sec; in orc_create()
|
D | special.h | 23 struct section *orig_sec; 26 struct section *new_sec;
|
D | special.c | 58 static void reloc_to_sec_off(struct reloc *reloc, struct section **sec, in reloc_to_sec_off() 66 struct section *sec, int idx, in get_alt_entry() 126 struct section *sec; in special_get_alts()
|
D | check.h | 44 struct section *sec; 91 struct section *sec, unsigned long offset);
|
/tools/perf/util/ |
D | config.c | 537 struct perf_config_section *section; in find_section() local 539 list_for_each_entry(section, sections, node) in find_section() 540 if (!strcmp(section->name, section_name)) in find_section() 541 return section; in find_section() 547 struct perf_config_section *section) in find_config_item() argument 551 list_for_each_entry(item, §ion->items, node) in find_config_item() 561 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local 563 if (!section) in add_section() 566 INIT_LIST_HEAD(§ion->items); in add_section() 567 section->name = strdup(section_name); in add_section() [all …]
|
D | config.h | 52 #define perf_config_sections__for_each_entry(list, section) \ argument 53 list_for_each_entry(section, list, node) 69 #define perf_config_set__for_each_entry(set, section, item) \ argument 70 perf_config_sections__for_each_entry(&set->sections, section) \ 71 perf_config_items__for_each_entry(§ion->items, item)
|
D | srcline.c | 191 static void find_address_in_section(bfd *abfd, asection *section, void *data) in find_address_in_section() argument 202 flags = bfd_get_section_flags(abfd, section); in find_address_in_section() 204 flags = bfd_section_flags(section); in find_address_in_section() 211 vma = bfd_get_section_vma(abfd, section); in find_address_in_section() 213 vma = bfd_section_vma(section); in find_address_in_section() 216 size = bfd_get_section_size(section); in find_address_in_section() 218 size = bfd_section_size(section); in find_address_in_section() 224 a2l->found = bfd_find_nearest_line(abfd, section, a2l->syms, pc - vma, in find_address_in_section()
|
/tools/perf/ |
D | builtin-config.c | 39 struct perf_config_section *section = NULL; in set_config() local 54 perf_config_items__for_each_entry(&set->sections, section) { in set_config() 55 if (!use_system_config && section->from_system_config) in set_config() 57 fprintf(fp, "[%s]\n", section->name); in set_config() 59 perf_config_items__for_each_entry(§ion->items, item) { in set_config() 74 struct perf_config_section *section; in show_spec_config() local 80 perf_config_items__for_each_entry(&set->sections, section) { in show_spec_config() 81 if (!strstarts(var, section->name)) in show_spec_config() 84 perf_config_items__for_each_entry(§ion->items, item) { in show_spec_config() 85 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/lib/bpf/ |
D | bpf_helpers.h | 30 #define SEC(NAME) __attribute__((section(NAME), used)) 133 #define __kconfig __attribute__((section(".kconfig"))) 134 #define __ksym __attribute__((section(".ksyms")))
|
/tools/perf/tests/ |
D | attr.py | 207 for section in filter(self.is_event, parser_event.sections()): 209 parser_items = parser_event.items(section); 213 if (':' in section): 214 base = section[section.index(':') + 1:] 219 e = Event(section, parser_items, base_items) 220 events[section] = e
|
D | bpf-script-test-kbuild.c | 10 #define SEC(NAME) __attribute__((section(NAME), used))
|
D | bpf-script-test-prologue.c | 10 #define SEC(NAME) __attribute__((section(NAME), used))
|
D | bpf-script-test-relocation.c | 27 #define SEC(NAME) __attribute__((section(NAME), used))
|
D | bpf-script-example.c | 27 #define SEC(NAME) __attribute__((section(NAME), used))
|
/tools/perf/include/bpf/ |
D | bpf.h | 32 struct ____btf_map_##name __attribute__((section(".maps." #name), used)) \ 50 #define SEC(NAME) __attribute__((section(NAME), used))
|
/tools/power/acpi/ |
D | Makefile.config | 87 STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment
|
/tools/perf/bench/ |
D | mem-memset-x86-64-asm.S | 15 .section .note.GNU-stack,"",@progbits
|
D | mem-memcpy-x86-64-asm.S | 20 .section .note.GNU-stack,"",@progbits
|
/tools/testing/selftests/bpf/ |
D | bpf_legacy.h | 11 __attribute__ ((section(".maps." #name), used)) \
|
/tools/testing/selftests/powerpc/copyloops/ |
D | copy_tofrom_user_reference.S | 21 .section __ex_table,"a"
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-btf.rst | 8 :Manual section: 8 62 .BTF section with well-defined BTF binary format data, 119 struct my_struct struct_global_var __attribute__((section("data_sec"))) = { 123 int global_var __attribute__((section("data_sec"))) = 7; 128 static int static_var __attribute__((section("data_sec"))) = 123;
|
D | bpftool-struct_ops.rst | 8 :Manual section: 8 52 the ELF section ".struct_ops" will be registered to
|