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()
252 if (!(sample_flags & SAMPLE_FLAG_IDLE_THREADS)) { in kperf_sample_internal()
267 if (sample_flags & SAMPLE_FLAG_CONTINUATION) { in kperf_sample_internal()
269 } else if (sample_flags & SAMPLE_FLAG_NON_INTERRUPT) { in kperf_sample_internal()
285 if (sample_flags & SAMPLE_FLAG_PEND_USER) { in kperf_sample_internal()
319 if (sample_flags & SAMPLE_FLAG_PEND_USER && in kperf_sample_internal()
330 actionid, userdata, sample_flags); in kperf_sample_internal()
332 if (sample_flags & SAMPLE_FLAG_SYSTEM) { in kperf_sample_internal()
370 if (sample_flags & SAMPLE_FLAG_PEND_USER) { in kperf_sample_internal()
410 unsigned actionid, unsigned sample_flags) in kperf_sample() argument
431 sample_flags, actionid, ucallstack_depth); in kperf_sample()
437 uint32_t sample_flags = SAMPLE_FLAG_NON_INTERRUPT | SAMPLE_FLAG_PEND_USER; in kperf_kdebug_handler() local
463 kr = kperf_sample(sample, &ctx, kperf_kdebug_get_action(), sample_flags); in kperf_kdebug_handler()