/freebsd/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/sys/arm/include/ |
H A D | profile.h | 99 ((pc < (uintfptr_t)VM_MAXUSER_ADDRESS) ? (uintfptr_t)user : pc) 102 ((pc >= (uintfptr_t)btrap && pc < (uintfptr_t)eintr) ? \ 103 ((pc >= (uintfptr_t)bintr) ? (uintfptr_t)bintr : \ 104 (uintfptr_t)btrap) : ~0U) 115 void mcount(uintfptr_t frompc, uintfptr_t selfpc); 118 typedef u_int uintfptr_t; typedef
|
/freebsd/lib/libc/gmon/ |
H A D | mcount.c | 62 _MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) in _MCOUNT_DECL() 101 >= (uintfptr_t)(VM_MAXUSER_ADDRESS + UPAGES * PAGE_SIZE)) in _MCOUNT_DECL() 103 frompci = (uintfptr_t)user - p->lowpc; in _MCOUNT_DECL() 165 if ((uintfptr_t)selfpc >= (uintfptr_t)btrap in _MCOUNT_DECL() 166 && (uintfptr_t)selfpc < (uintfptr_t)eintr) { in _MCOUNT_DECL() 167 if ((uintfptr_t)selfpc >= (uintfptr_t)bintr) in _MCOUNT_DECL() 168 frompci = (uintfptr_t)bintr - p->lowpc; in _MCOUNT_DECL() 170 frompci = (uintfptr_t)btrap - p->lowpc; in _MCOUNT_DECL() 276 mexitcount(uintfptr_t selfpc) in mexitcount() 279 uintfptr_t selfpcdiff; in mexitcount() [all …]
|
/freebsd/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/sys/amd64/include/ |
H A D | profile.h | 46 static void _mcount(uintfptr_t frompc, uintfptr_t selfpc) __used; \ 85 uintfptr_t selfpc, frompc; \ 100 frompc = ((uintfptr_t *)frompc)[1]; \ 105 typedef u_long uintfptr_t; typedef
|
/freebsd/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 | 184 uintfptr_t start) in pmcstat_image_link() 187 uintfptr_t offset; in pmcstat_image_link() 307 uintfptr_t minva, maxva; in pmcstat_image_get_elf_params() 318 image->pi_start = minva = ~(uintfptr_t) 0; in pmcstat_image_get_elf_params() 319 image->pi_end = maxva = (uintfptr_t) 0; in pmcstat_image_get_elf_params()
|
/freebsd/sys/sys/ |
H A D | gmon.h | 163 uintfptr_t lowpc; 164 uintfptr_t highpc; 204 #define PC_TO_I(p, pc) ((uintfptr_t)(pc) - (uintfptr_t)(p)->lowpc) 226 void kmupetext(uintfptr_t nhighpc); 227 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 | 136 void addupc_intr(struct thread *td, uintfptr_t pc, u_int ticks); 137 void addupc_task(struct thread *td, uintfptr_t pc, u_int ticks);
|
/freebsd/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/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/sys/i386/include/ |
H A D | profile.h | 47 uintfptr_t selfpc, frompc, ecx; \ 70 frompc = ((uintfptr_t *)frompc)[1]; \ 75 typedef u_int uintfptr_t; typedef
|
/freebsd/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 | 79 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_process() 83 uintfptr_t newpc; in pmcpl_annotate_process()
|
H A D | pmcpl_callgraph.c | 93 pmcstat_cgnode_allocate(struct pmcstat_image *image, uintfptr_t pc) in pmcstat_cgnode_allocate() 130 uintfptr_t pc, int usermode) in pmcstat_cgnode_hash_lookup_pc() 137 uintfptr_t loadaddress; in pmcstat_cgnode_hash_lookup_pc() 160 for (hash = i = 0; i < sizeof(uintfptr_t); i++) in pmcstat_cgnode_hash_lookup_pc() 224 uintfptr_t pcoffset) in pmcstat_cgnode_find() 328 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_cg_process() 330 uintfptr_t pc, loadaddress; in pmcpl_cg_process()
|
H A D | pmcpl_calltree.c | 90 uintfptr_t pctf_func; 99 uintfptr_t pct_func; 272 uintfptr_t pc, unsigned v) in pmcpl_ct_instr_add() 662 pmcpl_ct_node_hash_lookup(struct pmcstat_image *image, uintfptr_t pc, in pmcpl_ct_node_hash_lookup() 679 for (hash = i = 0; i < (int)sizeof(uintfptr_t); i++) in pmcpl_ct_node_hash_lookup() 727 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_ct_process() 730 uintfptr_t pc, loadaddress; in pmcpl_ct_process() 827 pmcpl_ct_node_printchild(struct pmcpl_ct_node *ct, uintfptr_t paddr, in pmcpl_ct_node_printchild() 831 uintfptr_t addr; in pmcpl_ct_node_printchild() 894 uintfptr_t faddr, addr; in pmcpl_ct_node_printself() [all …]
|
H A D | pmcpl_annotate_cg.c | 82 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu) in pmcpl_annotate_cg_process() 86 uintfptr_t newpc; in pmcpl_annotate_cg_process()
|
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/sys/kern/ |
H A D | subr_prof.c | 111 addupc_intr(struct thread *td, uintfptr_t pc, u_int ticks) in addupc_intr() 136 addupc_task(struct thread *td, uintfptr_t pc, u_int ticks) in addupc_task()
|
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_logging.c | 189 PMC_CALLCHAIN_DEPTH_MAX*sizeof(uintfptr_t)); 193 5*4 + sizeof(uintfptr_t)); 195 5*4 + TSDELTA + sizeof(uintfptr_t)); 196 CTASSERT(sizeof(struct pmclog_map_out) == 5*4 + 2*sizeof(uintfptr_t) + TSDELTA); 916 ps->ps_nsamples * sizeof(uintfptr_t); in pmclog_process_callchain() 946 pmclog_process_map_in(struct pmc_owner *po, pid_t pid, uintfptr_t start, in pmclog_process_map_in() 966 pmclog_process_map_out(struct pmc_owner *po, pid_t pid, uintfptr_t start, in pmclog_process_map_out() 967 uintfptr_t end) in pmclog_process_map_out()
|