Searched refs:pc_samples (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/sgs/prof/common/ |
H A D | profv.c | 468 Address *pc_samples; in process_pcsamples() local 477 pc_samples = (Address *) calloc(nelem, sizeof (Address)); in process_pcsamples() 478 if (pc_samples == NULL) { in process_pcsamples() 484 (void) memcpy(pc_samples, (caddr_t)bufp + bufp->buffer, in process_pcsamples() 488 qsort(pc_samples, nelem, sizeof (Address), pc_cmp); in process_pcsamples() 497 assign_pcsamples(mi, pc_samples, nelem); in process_pcsamples() 500 free(pc_samples); in process_pcsamples()
|
/titanic_44/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.c | 860 Address *pc_samples; in process_pcsamples() local 886 pc_samples = (Address *) calloc(chunk_size, sizeof (Address)); in process_pcsamples() 887 if (pc_samples == NULL) { in process_pcsamples() 899 (void) memcpy((void *) pc_samples, p, in process_pcsamples() 903 qsort(pc_samples, chunk_size, sizeof (Address), pc_cmp); in process_pcsamples() 912 assign_pcsamples(mi, pc_samples, chunk_size); in process_pcsamples() 922 free(pc_samples); in process_pcsamples()
|