Lines Matching refs:sample_flags

173 kperf_prepare_sample_what(unsigned int sample_what, unsigned int sample_flags)  in kperf_prepare_sample_what()  argument
176 if (sample_flags & SAMPLE_FLAG_EMPTY_CALLSTACK) { in kperf_prepare_sample_what()
179 if (sample_flags & SAMPLE_FLAG_ONLY_SYSTEM) { in kperf_prepare_sample_what()
182 assert((sample_flags & (SAMPLE_FLAG_THREAD_ONLY | SAMPLE_FLAG_TASK_ONLY)) in kperf_prepare_sample_what()
184 if (sample_flags & SAMPLE_FLAG_THREAD_ONLY) { in kperf_prepare_sample_what()
187 if (sample_flags & SAMPLE_FLAG_TASK_ONLY) { in kperf_prepare_sample_what()
196 unsigned int actionid, unsigned int sample_flags) in kperf_sample_user() argument
203 actionv[actionid - 1].sample, sample_flags); in kperf_sample_user()
217 unsigned sample_what, unsigned sample_flags, in kperf_sample_internal() argument
223 bool task_only = (sample_flags & SAMPLE_FLAG_TASK_ONLY) != 0; in kperf_sample_internal()
227 sample_what = kperf_prepare_sample_what(sample_what, sample_flags); in kperf_sample_internal()
251 if (!(sample_flags & SAMPLE_FLAG_IDLE_THREADS)) { in kperf_sample_internal()
266 if (sample_flags & SAMPLE_FLAG_CONTINUATION) { in kperf_sample_internal()
268 } else if (sample_flags & SAMPLE_FLAG_NON_INTERRUPT) { in kperf_sample_internal()
284 if (sample_flags & SAMPLE_FLAG_PEND_USER) { in kperf_sample_internal()
318 if (sample_flags & SAMPLE_FLAG_PEND_USER && in kperf_sample_internal()
329 actionid, userdata, sample_flags); in kperf_sample_internal()
331 if (sample_flags & SAMPLE_FLAG_SYSTEM) { in kperf_sample_internal()
369 if (sample_flags & SAMPLE_FLAG_PEND_USER) { in kperf_sample_internal()
409 unsigned actionid, unsigned sample_flags) in kperf_sample() argument
430 sample_flags, actionid, ucallstack_depth); in kperf_sample()
436 uint32_t sample_flags = SAMPLE_FLAG_NON_INTERRUPT | SAMPLE_FLAG_PEND_USER; in kperf_kdebug_handler() local
462 kr = kperf_sample(sample, &ctx, kperf_kdebug_get_action(), sample_flags); in kperf_kdebug_handler()