| /freebsd-14.2/sys/riscv/include/ |
| H A D | profile.h | 57 ((pc < (uintfptr_t)VM_MAXUSER_ADDRESS) ? (uintfptr_t)user : pc) 60 ((pc >= (uintfptr_t)btrap && pc < (uintfptr_t)eintr) ? \ 61 ((pc >= (uintfptr_t)bintr) ? (uintfptr_t)bintr : \ 62 (uintfptr_t)btrap) : ~0UL) 64 void mcount(uintfptr_t frompc, uintfptr_t selfpc); 68 typedef __uintfptr_t uintfptr_t; typedef
|
| /freebsd-14.2/sys/arm/include/ |
| H A D | profile.h | 101 ((pc < (uintfptr_t)VM_MAXUSER_ADDRESS) ? (uintfptr_t)user : pc) 104 ((pc >= (uintfptr_t)btrap && pc < (uintfptr_t)eintr) ? \ 105 ((pc >= (uintfptr_t)bintr) ? (uintfptr_t)bintr : \ 106 (uintfptr_t)btrap) : ~0U) 117 void mcount(uintfptr_t frompc, uintfptr_t selfpc); 120 typedef u_int uintfptr_t; typedef
|
| /freebsd-14.2/sys/powerpc/include/ |
| H A D | profile.h | 190 #define __PROFILE_VECTOR_BASE (uintfptr_t)interrupt_vector_base 191 #define __PROFILE_VECTOR_TOP (uintfptr_t)interrupt_vector_top 214 ((pc < (uintfptr_t)VM_MAXUSER_ADDRESS) ? \ 215 (uintfptr_t)powerpc_profile_userspace : pc) 220 (uintfptr_t)powerpc_profile_interrupt : ~0U) 222 void __mcount(uintfptr_t frompc, uintfptr_t selfpc); 227 typedef u_long uintfptr_t; typedef 229 typedef u_int uintfptr_t; typedef
|
| /freebsd-14.2/lib/libc/gmon/ |
| H A D | mcount.c | 65 _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) in _MCOUNT_DECL() 104 >= (uintfptr_t)(VM_MAXUSER_ADDRESS + UPAGES * PAGE_SIZE)) in _MCOUNT_DECL() 106 frompci = (uintfptr_t)user - p->lowpc; in _MCOUNT_DECL() 168 if ((uintfptr_t)selfpc >= (uintfptr_t)btrap in _MCOUNT_DECL() 169 && (uintfptr_t)selfpc < (uintfptr_t)eintr) { in _MCOUNT_DECL() 170 if ((uintfptr_t)selfpc >= (uintfptr_t)bintr) in _MCOUNT_DECL() 171 frompci = (uintfptr_t)bintr - p->lowpc; in _MCOUNT_DECL() 173 frompci = (uintfptr_t)btrap - p->lowpc; in _MCOUNT_DECL() 279 mexitcount(uintfptr_t selfpc) in mexitcount() 282 uintfptr_t selfpcdiff; in mexitcount() [all …]
|
| /freebsd-14.2/sys/amd64/include/ |
| H A D | profile.h | 48 static void _mcount(uintfptr_t frompc, uintfptr_t selfpc) __used; \ 87 uintfptr_t selfpc, frompc; \ 102 frompc = ((uintfptr_t *)frompc)[1]; \ 107 typedef u_long uintfptr_t; typedef
|
| /freebsd-14.2/lib/libpmcstat/ |
| H A D | libpmcstat.h | 181 uintfptr_t pi_start; /* start address (inclusive) */ 182 uintfptr_t pi_end; /* end address (exclusive) */ 183 uintfptr_t pi_entry; /* entry address */ 184 uintfptr_t pi_vaddr; /* virtual address where loaded */ 229 uintfptr_t ppm_lowpc; 230 uintfptr_t ppm_highpc; 250 uintfptr_t pp_entryaddr; /* entry address */ 284 uintfptr_t *cc, int usermode, uint32_t cpu); 320 uintfptr_t addr); 342 struct pmcstat_image *_i, uintfptr_t _lpc); [all …]
|
| H A D | libpmcstat_image.c | 185 uintfptr_t start) in pmcstat_image_link() 188 uintfptr_t offset; in pmcstat_image_link() 308 uintfptr_t minva, maxva; in pmcstat_image_get_elf_params() 319 image->pi_start = minva = ~(uintfptr_t) 0; in pmcstat_image_get_elf_params() 320 image->pi_end = maxva = (uintfptr_t) 0; in pmcstat_image_get_elf_params()
|
| /freebsd-14.2/sys/sys/ |
| H A D | gmon.h | 165 uintfptr_t lowpc; 166 uintfptr_t highpc; 206 #define PC_TO_I(p, pc) ((uintfptr_t)(pc) - (uintfptr_t)(p)->lowpc) 228 void kmupetext(uintfptr_t nhighpc); 229 void mexitcount(uintfptr_t selfpc);
|
| H A D | pmclog.h | 149 uintfptr_t pl_start; /* 8 byte aligned */ 157 uintfptr_t pl_start; /* 8 byte aligned */ 158 uintfptr_t pl_end; 309 uintfptr_t start, const char *path); 311 uintfptr_t start, uintfptr_t end); 318 uintfptr_t _baseaddr, uintptr_t _dynaddr, char *_path);
|
| H A D | resourcevar.h | 138 void addupc_intr(struct thread *td, uintfptr_t pc, u_int ticks); 139 void addupc_task(struct thread *td, uintfptr_t pc, u_int ticks);
|
| /freebsd-14.2/sys/arm64/include/ |
| H A D | profile.h | 48 typedef __uintfptr_t uintfptr_t; typedef 51 static void _mcount(uintfptr_t frompc, uintfptr_t selfpc) __used; \ 88 mcount(uintfptr_t frompc)
|
| /freebsd-14.2/sys/i386/include/ |
| H A D | profile.h | 49 uintfptr_t selfpc, frompc, ecx; \ 72 frompc = ((uintfptr_t *)frompc)[1]; \ 77 typedef u_int uintfptr_t; typedef
|
| /freebsd-14.2/lib/libpmc/ |
| H A D | pmclog.h | 53 uintfptr_t pl_pc[PMC_CALLCHAIN_DEPTH_MAX]; 72 uintfptr_t pl_start; 78 uintfptr_t pl_start; 79 uintfptr_t pl_end; 83 uintfptr_t pl_pc;
|
| /freebsd-14.2/usr.sbin/pmcstat/ |
| H A D | pmcpl_callgraph.h | 42 uintfptr_t pcg_func; 62 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcpl_annotate.c | 80 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_process() 84 uintfptr_t newpc; in pmcpl_annotate_process()
|
| H A D | pmcpl_callgraph.c | 94 pmcstat_cgnode_allocate(struct pmcstat_image *image, uintfptr_t pc) in pmcstat_cgnode_allocate() 131 uintfptr_t pc, int usermode) in pmcstat_cgnode_hash_lookup_pc() 138 uintfptr_t loadaddress; in pmcstat_cgnode_hash_lookup_pc() 161 for (hash = i = 0; i < sizeof(uintfptr_t); i++) in pmcstat_cgnode_hash_lookup_pc() 225 uintfptr_t pcoffset) in pmcstat_cgnode_find() 329 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_cg_process() 331 uintfptr_t pc, loadaddress; in pmcpl_cg_process()
|
| H A D | pmcpl_annotate_cg.c | 83 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_cg_process() 87 uintfptr_t newpc; in pmcpl_annotate_cg_process()
|
| H A D | pmcpl_calltree.c | 91 uintfptr_t pctf_func; 100 uintfptr_t pct_func; 273 uintfptr_t pc, unsigned v) in pmcpl_ct_instr_add() 663 pmcpl_ct_node_hash_lookup(struct pmcstat_image *image, uintfptr_t pc, in pmcpl_ct_node_hash_lookup() 680 for (hash = i = 0; i < (int)sizeof(uintfptr_t); i++) in pmcpl_ct_node_hash_lookup() 728 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_ct_process() 731 uintfptr_t pc, loadaddress; in pmcpl_ct_process() 828 pmcpl_ct_node_printchild(struct pmcpl_ct_node *ct, uintfptr_t paddr, in pmcpl_ct_node_printchild() 832 uintfptr_t addr; in pmcpl_ct_node_printchild() 895 uintfptr_t faddr, addr; in pmcpl_ct_node_printself() [all …]
|
| H A D | pmcpl_annotate.h | 39 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcpl_annotate_cg.h | 42 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcpl_calltree.h | 37 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcpl_gprof.h | 41 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
| H A D | pmcstat_log.h | 53 int pmcstat_image_addr2line(struct pmcstat_image *image, uintfptr_t addr,
|
| /freebsd-14.2/sys/kern/ |
| H A D | subr_prof.c | 114 addupc_intr(struct thread *td, uintfptr_t pc, u_int ticks) in addupc_intr() 139 addupc_task(struct thread *td, uintfptr_t pc, u_int ticks) in addupc_task()
|
| /freebsd-14.2/sys/dev/hwpmc/ |
| H A D | hwpmc_logging.c | 185 PMC_CALLCHAIN_DEPTH_MAX*sizeof(uintfptr_t)); 189 5*4 + sizeof(uintfptr_t)); 191 5*4 + TSDELTA + sizeof(uintfptr_t)); 192 CTASSERT(sizeof(struct pmclog_map_out) == 5*4 + 2*sizeof(uintfptr_t) + TSDELTA); 912 ps->ps_nsamples * sizeof(uintfptr_t); in pmclog_process_callchain() 942 pmclog_process_map_in(struct pmc_owner *po, pid_t pid, uintfptr_t start, in pmclog_process_map_in() 962 pmclog_process_map_out(struct pmc_owner *po, pid_t pid, uintfptr_t start, in pmclog_process_map_out() 963 uintfptr_t end) in pmclog_process_map_out()
|