Lines Matching defs:context
52 #include <kperf/context.h>
73 /* this can be called in any context ... right? */
76 struct kperf_context *context,
88 int is_kernel = (context->cur_pid == 0);
96 kperf_threadinfo_sample( &sbuf->threadinfo, context );
105 kperf_kcallstack_sample( &sbuf->kcallstack, context );
112 did_ucallstack = kperf_ucallstack_pend( context );
115 did_tinfo_extra = kperf_threadinfo_extra_pend( context );
120 kperf_ucallstack_sample( &sbuf->ucallstack, context );
124 context );
177 struct kperf_context *context,
194 return kperf_sample_internal( sbuf, context, sample_what, pend_user );
222 /* make a context, take a sample */