/kernel/linux/linux-5.10/scripts/ |
H A D | recordmcount.h | 453 const char *const txtname) in nop_mcount() 480 txtname); in nop_mcount() 517 char const *const txtname, in find_secsym_ndx() 548 txtndx, txtname); in find_secsym_ndx() 560 char const *const txtname = &shstrtab[w(txthdr->sh_name)]; in __has_rel_mcount() local 562 if (strcmp("__mcount_loc", txtname) == 0) { in __has_rel_mcount() 570 return txtname; in __has_rel_mcount() 591 char const *txtname; in tot_relsize() local 594 txtname = has_rel_mcount(shdrp, shdr0, shstrtab, fname); in tot_relsize() 595 if (txtname in tot_relsize() 451 nop_mcount(Elf_Shdr const *const relhdr, Elf_Ehdr const *const ehdr, const char *const txtname) nop_mcount() argument 516 find_secsym_ndx(unsigned const txtndx, char const *const txtname, uint_t *const recvalp, unsigned int *sym_index, Elf_Shdr const *const symhdr, Elf32_Word const *symtab, Elf32_Word const *symtab_shndx, Elf_Ehdr const *const ehdr) find_secsym_ndx() argument 655 char const *const txtname = has_rel_mcount(relhdr, shdr0, do_func() local [all...] |
H A D | recordmcount.c | 419 static int is_mcounted_section_name(char const *const txtname) in is_mcounted_section_name() argument 421 return strncmp(".text", txtname, 5) == 0 || in is_mcounted_section_name() 422 strcmp(".init.text", txtname) == 0 || in is_mcounted_section_name() 423 strcmp(".ref.text", txtname) == 0 || in is_mcounted_section_name() 424 strcmp(".sched.text", txtname) == 0 || in is_mcounted_section_name() 425 strcmp(".spinlock.text", txtname) == 0 || in is_mcounted_section_name() 426 strcmp(".irqentry.text", txtname) == 0 || in is_mcounted_section_name() 427 strcmp(".softirqentry.text", txtname) == 0 || in is_mcounted_section_name() 428 strcmp(".kprobes.text", txtname) == 0 || in is_mcounted_section_name() 429 strcmp(".cpuidle.text", txtname) in is_mcounted_section_name() [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | recordmcount.h | 453 const char *const txtname) in nop_mcount() 480 txtname); in nop_mcount() 517 char const *const txtname, in find_secsym_ndx() 548 txtndx, txtname); in find_secsym_ndx() 560 char const *const txtname = &shstrtab[w(txthdr->sh_name)]; in __has_rel_mcount() local 562 if (strcmp("__mcount_loc", txtname) == 0) { in __has_rel_mcount() 570 return txtname; in __has_rel_mcount() 591 char const *txtname; in tot_relsize() local 594 txtname = has_rel_mcount(shdrp, shdr0, shstrtab, fname); in tot_relsize() 595 if (txtname in tot_relsize() 451 nop_mcount(Elf_Shdr const *const relhdr, Elf_Ehdr const *const ehdr, const char *const txtname) nop_mcount() argument 516 find_secsym_ndx(unsigned const txtndx, char const *const txtname, uint_t *const recvalp, unsigned int *sym_index, Elf_Shdr const *const symhdr, Elf32_Word const *symtab, Elf32_Word const *symtab_shndx, Elf_Ehdr const *const ehdr) find_secsym_ndx() argument 655 char const *const txtname = has_rel_mcount(relhdr, shdr0, do_func() local [all...] |
H A D | recordmcount.c | 419 static int is_mcounted_section_name(char const *const txtname) in is_mcounted_section_name() argument 421 return strncmp(".text", txtname, 5) == 0 || in is_mcounted_section_name() 422 strcmp(".init.text", txtname) == 0 || in is_mcounted_section_name() 423 strcmp(".ref.text", txtname) == 0 || in is_mcounted_section_name() 424 strcmp(".sched.text", txtname) == 0 || in is_mcounted_section_name() 425 strcmp(".spinlock.text", txtname) == 0 || in is_mcounted_section_name() 426 strcmp(".irqentry.text", txtname) == 0 || in is_mcounted_section_name() 427 strcmp(".softirqentry.text", txtname) == 0 || in is_mcounted_section_name() 428 strcmp(".kprobes.text", txtname) == 0 || in is_mcounted_section_name() 429 strcmp(".cpuidle.text", txtname) in is_mcounted_section_name() [all...] |
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | module.c | 467 const char *txtname; in module_finalize() local 475 txtname = ".text"; in module_finalize() 477 txtname = secname + strlen(".ARM.exidx"); in module_finalize() 478 txt_sec = find_mod_section(hdr, sechdrs, txtname); in module_finalize()
|