Lines Matching refs:sbuf
81 kperf_sample_internal( struct kperf_sample *sbuf,
98 sbuf->kcallstack.nframes = 0;
99 sbuf->kcallstack.flags = CALLSTACK_VALID;
100 sbuf->ucallstack.nframes = 0;
101 sbuf->ucallstack.flags = CALLSTACK_VALID;
109 kperf_threadinfo_sample( &sbuf->threadinfo, context );
113 if (sbuf->threadinfo.runmode & 0x40)
118 kperf_kcallstack_sample( &sbuf->kcallstack, context );
133 kperf_ucallstack_sample( &sbuf->ucallstack, context );
136 kperf_threadinfo_extra_sample( &sbuf->tinfo_ex,
143 kperf_kpc_cpu_sample( &sbuf->kpcdata,
164 kperf_threadinfo_log( &sbuf->threadinfo );
168 kperf_kcallstack_log( &sbuf->kcallstack );
184 kperf_ucallstack_log( &sbuf->ucallstack );
187 kperf_threadinfo_extra_log( &sbuf->tinfo_ex );
193 kperf_kpc_cpu_log( &sbuf->kpcdata );
207 kperf_sample( struct kperf_sample *sbuf,
230 return kperf_sample_internal( sbuf, context, sample_what,
247 struct kperf_sample sbuf;
248 bzero(&sbuf, sizeof(struct kperf_sample));
272 r = kperf_sample_internal( &sbuf, &ctx, sample_what, 0, 0 );