Lines Matching refs:kpkc_nframes
174 assert(cs->kpkc_nframes < MAX_KCALLSTACK_FRAMES); in callstack_fixup_interrupted()
188 cs->kpkc_frames[cs->kpkc_nframes++] = fixup_val; in callstack_fixup_interrupted()
208 cs->kpkc_nframes = 1; in kperf_continuation_sample()
230 cs->kpkc_nframes = backtrace(cs->kpkc_word_frames, cs->kpkc_nframes - 1, in kperf_backtrace_sample()
232 if (cs->kpkc_nframes > 0) { in kperf_backtrace_sample()
238 cs->kpkc_word_frames[cs->kpkc_nframes + 1] = 0; in kperf_backtrace_sample()
239 cs->kpkc_nframes += 1; in kperf_backtrace_sample()
245 BUF_VERB(PERF_CS_BACKTRACE | DBG_FUNC_END, cs->kpkc_nframes); in kperf_backtrace_sample()
259 assert(cs->kpkc_nframes <= MAX_KCALLSTACK_FRAMES); in kperf_kcallstack_sample()
265 cs->kpkc_nframes); in kperf_kcallstack_sample()
277 cs->kpkc_nframes = backtrace(cs->kpkc_word_frames, cs->kpkc_nframes - 1, in kperf_kcallstack_sample()
279 if (cs->kpkc_nframes != 0) { in kperf_kcallstack_sample()
292 cs->kpkc_frames, &cs->kpkc_nframes, FALSE); in kperf_kcallstack_sample()
299 cs->kpkc_nframes = 0; in kperf_kcallstack_sample()
308 cs->kpkc_flags, cs->kpkc_nframes); in kperf_kcallstack_sample()
438 cs->kpkc_nframes, cs->kpkc_flags, 0, 0); in kperf_kcallstack_log()