Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 48) sorted by relevance

12

/tools/objtool/
Delf.h38 struct section { struct
45 struct section *base, *rela; argument
58 struct section *sec; argument
71 struct section *rela_sec;
89 struct section *find_section_by_name(struct elf *elf, const char *name);
90 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset);
92 struct symbol *find_symbol_containing(struct section *sec, unsigned long offset);
93 struct rela *find_rela_by_dest(struct section *sec, unsigned long offset);
94 struct rela *find_rela_by_dest_range(struct section *sec, unsigned long offset,
96 struct symbol *find_containing_func(struct section *sec, unsigned long offset);
[all …]
Delf.c36 struct section *find_section_by_name(struct elf *elf, const char *name) in find_section_by_name()
38 struct section *sec; in find_section_by_name()
47 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
50 struct section *sec; in find_section_by_index()
61 struct section *sec; in find_symbol_by_index()
72 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_symbol_by_offset()
86 struct section *sec; in find_symbol_by_name()
97 struct symbol *find_symbol_containing(struct section *sec, unsigned long offset) in find_symbol_containing()
109 struct rela *find_rela_by_dest_range(struct section *sec, unsigned long offset, in find_rela_by_dest_range()
126 struct rela *find_rela_by_dest(struct section *sec, unsigned long offset) in find_rela_by_dest()
[all …]
Dspecial.h31 struct section *orig_sec;
34 struct section *new_sec;
Dcheck.h42 struct section *sec;
63 struct section *whitelist;
70 struct section *sec, unsigned long offset);
Dorc_gen.c94 static int create_orc_entry(struct section *u_sec, struct section *ip_relasec, in create_orc_entry()
95 unsigned int idx, struct section *insn_sec, in create_orc_entry()
132 struct section *sec, *u_sec, *ip_relasec; in create_orc_sections()
Darch.h75 int arch_decode_instruction(struct elf *elf, struct section *sec,
Dspecial.c82 struct section *sec, int idx, in get_alt_entry()
156 struct section *sec; in special_get_alts()
Dwarn.h30 static inline char *offstr(struct section *sec, unsigned long offset) in offstr()
Dcheck.c42 struct section *sec, unsigned long offset) in find_insn()
261 struct section *sec; in decode_instructions()
337 struct section *sec; in add_dead_ends()
439 struct section *sec; in add_ignores()
464 struct section *sec; in add_nospec_ignores()
497 struct section *dest_sec; in add_jump_destinations()
909 struct section *rodata_sec; in find_switch_table()
1035 struct section *sec; in add_switch_table_alts()
1058 struct section *sec, *relasec; in read_unwind_hints()
1151 struct section *sec; in read_retpoline_hints()
[all …]
/tools/perf/util/
Dconfig.c505 struct perf_config_section *section; in find_section() local
507 list_for_each_entry(section, sections, node) in find_section()
508 if (!strcmp(section->name, section_name)) in find_section()
509 return section; in find_section()
515 struct perf_config_section *section) in find_config_item() argument
519 list_for_each_entry(item, &section->items, node) in find_config_item()
529 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local
531 if (!section) in add_section()
534 INIT_LIST_HEAD(&section->items); in add_section()
535 section->name = strdup(section_name); in add_section()
[all …]
Dconfig.h50 #define perf_config_sections__for_each_entry(list, section) \ argument
51 list_for_each_entry(section, list, node)
67 #define perf_config_set__for_each_entry(set, section, item) \ argument
68 perf_config_sections__for_each_entry(&set->sections, section) \
69 perf_config_items__for_each_entry(&section->items, item)
Dsrcline.c137 static void find_address_in_section(bfd *abfd, asection *section, void *data) in find_address_in_section() argument
146 if ((bfd_get_section_flags(abfd, section) & SEC_ALLOC) == 0) in find_address_in_section()
150 vma = bfd_get_section_vma(abfd, section); in find_address_in_section()
151 size = bfd_get_section_size(section); in find_address_in_section()
156 a2l->found = bfd_find_nearest_line(abfd, section, a2l->syms, pc - vma, in find_address_in_section()
/tools/perf/
Dbuiltin-config.c41 struct perf_config_section *section = NULL; in set_config() local
57 perf_config_items__for_each_entry(&set->sections, section) { in set_config()
58 if (!use_system_config && section->from_system_config) in set_config()
60 fprintf(fp, "[%s]\n", section->name); in set_config()
62 perf_config_items__for_each_entry(&section->items, item) { in set_config()
77 struct perf_config_section *section; in show_spec_config() local
83 perf_config_items__for_each_entry(&set->sections, section) { in show_spec_config()
84 if (!strstarts(var, section->name)) in show_spec_config()
87 perf_config_items__for_each_entry(&section->items, item) { in show_spec_config()
88 const char *name = var + strlen(section->name) + 1; in show_spec_config()
[all …]
/tools/perf/tests/
Dattr.py202 for section in filter(self.is_event, parser_event.sections()):
204 parser_items = parser_event.items(section);
208 if (':' in section):
209 base = section[section.index(':') + 1:]
214 e = Event(section, parser_items, base_items)
215 events[section] = e
Dbpf-script-test-kbuild.c9 #define SEC(NAME) __attribute__((section(NAME), used))
Dbpf-script-test-prologue.c9 #define SEC(NAME) __attribute__((section(NAME), used))
Dbpf-script-test-relocation.c26 #define SEC(NAME) __attribute__((section(NAME), used))
Dbpf-script-example.c26 #define SEC(NAME) __attribute__((section(NAME), used))
/tools/perf/bench/
Dmem-memset-x86-64-asm.S12 .section .note.GNU-stack,"",@progbits
Dmem-memcpy-x86-64-asm.S16 .section .note.GNU-stack,"",@progbits
/tools/power/acpi/
DMakefile.config91 STRIPCMD = $(STRIP) -s --remove-section=.note --remove-section=.comment
/tools/testing/selftests/powerpc/switch_endian/
Dswitch_endian_test.S9 .section ".toc"
/tools/perf/scripts/python/
Dcall-graph-from-sql.py239 def headerData(self, section, orientation, role): argument
241 if section > 1:
247 return self.root.columnHeader(section)
/tools/perf/arch/x86/tests/
Dregs_load.S99 .section .note.GNU-stack,"",@progbits
/tools/perf/Documentation/
Dperf.data-file-format.txt14 format is described in "Pipe-mode data" section. The pipe data version can be
36 A perf_file_section contains a pointer to another section of the perf file.
41 uint64_t size; /* size of the section */
44 Flags section:
252 This section is the bulk of the file. It consist of a stream of perf_events

12