| /tools/objtool/include/objtool/ |
| A D | elf.h | 33 struct section { struct 40 struct section *base, *rsec; argument 55 struct section *sec; argument 75 struct section *group_sec; 80 struct section *sec; 107 struct section *section_data; 124 struct section *insn_sec, 180 static inline bool is_reloc_sec(struct section *sec) in is_reloc_sec() 185 static inline bool sec_changed(struct section *sec) in sec_changed() 209 struct section *rsec = reloc->sec; in reloc_rel() [all …]
|
| A 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,
|
| A D | special.h | 22 struct section *orig_sec; 25 struct section *new_sec;
|
| /tools/perf/util/ |
| A D | config.c | 628 return section; in find_section() 648 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local 650 if (!section) in add_section() 655 if (!section->name) { in add_section() 657 free(section); in add_section() 662 return section; in add_section() 723 if (!section) { in collect_config() 725 if (!section) in collect_config() 879 zfree(§ion->name); in perf_config_section__delete() 880 free(section); in perf_config_section__delete() [all …]
|
| A D | config.h | 59 #define perf_config_sections__for_each_entry(list, section) \ argument 60 list_for_each_entry(section, list, node) 76 #define perf_config_set__for_each_entry(set, section, item) \ argument 77 perf_config_sections__for_each_entry(&set->sections, section) \ 78 perf_config_items__for_each_entry(§ion->items, item)
|
| /tools/perf/ |
| A 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 82 if (!strstarts(var, section->name)) in show_spec_config() 86 const char *name = var + strlen(section->name) + 1; in show_spec_config() 105 struct perf_config_section *section; in show_config() local 111 perf_config_set__for_each_entry(set, section, item) { in show_config() [all …]
|
| /tools/testing/selftests/tc-testing/ |
| A 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/ |
| A 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/ |
| A D | stackprotector.h | 22 __attribute__((weak,used,noreturn,section(".text.nolibc_stack_chk"))) 33 __attribute__((weak,noreturn,section(".text.nolibc_stack_chk"))) 39 __attribute__((weak,used,section(".data.nolibc_stack_chk")))
|
| A D | getopt.h | 18 __attribute__((weak,unused,section(".data.nolibc_getopt"))) 21 __attribute__((weak,unused,section(".data.nolibc_getopt")))
|
| /tools/objtool/ |
| A D | elf.c | 132 struct section *sec; in find_section_by_name() 145 struct section *sec; in find_section_by_index() 275 struct section *rsec; in find_reloc_by_dest_range() 314 struct section *sec; in read_sections() 577 struct section *symtab, *sec; in mark_group_syms() 968 struct section *rsec; in read_relocs() 1124 struct section *sec, *shstrtab; in elf_create_section() 1202 struct section *sec, in elf_create_rela_section() 1205 struct section *rsec; in elf_create_rela_section() 1244 struct section *sec; in elf_create_section_pair() [all …]
|
| A 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()
|
| A 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() 133 struct section *sec; in special_get_alts()
|
| /tools/testing/selftests/bpf/progs/ |
| A 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/ |
| A 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/objtool/arch/loongarch/ |
| A D | special.c | 23 struct section *rsec; in get_rodata_table_size_by_table_annotate() 116 struct section *rsec; in find_reloc_by_table_annotate() 142 static struct reloc *find_reloc_of_rodata_c_jump_table(struct section *sec, in find_reloc_of_rodata_c_jump_table() 146 struct section *rsec; in find_reloc_of_rodata_c_jump_table() 172 struct section *table_sec; in arch_find_switch_table()
|
| A 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/include/linux/ |
| A D | init.h | 15 #define __section(section) __attribute__((__section__(section))) argument
|
| /tools/testing/selftests/net/ |
| A 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/…
|
| A D | sample_ret0.bpf.c | 3 #define SEC(name) __attribute__((section(name), used))
|
| /tools/objtool/arch/x86/ |
| A 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/ |
| A D | sign_key.S | 6 .section ".rodata", "a"
|
| /tools/power/acpi/ |
| A D | Makefile.config | 88 STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment
|
| /tools/testing/selftests/x86/ |
| A D | clang_helpers_32.S | 11 .section .note.GNU-stack,"",%progbits
|
| /tools/perf/tests/shell/lib/ |
| A D | attr.py | 267 for section in filter(self.is_event, parser_event.sections()): 269 parser_items = parser_event.items(section); 273 if (':' in section): 274 base = section[section.index(':') + 1:] 279 e = Event(section, parser_items, base_items) 280 events[section] = e
|