Lines Matching refs:crp
70 struct call_return_processor *crp; member
93 struct call_return_processor *crp) in thread_stack__new() argument
110 ts->crp = crp; in thread_stack__new()
165 struct call_return_processor *crp = ts->crp; in thread_stack__call_return() local
185 return crp->process(&cr, crp->data); in thread_stack__call_return()
190 struct call_return_processor *crp = ts->crp; in __thread_stack__flush() local
193 if (!crp) { in __thread_stack__flush()
246 if (thread->ts->crp) in thread_stack__event()
308 struct call_return_processor *crp; in call_return_processor__new() local
310 crp = zalloc(sizeof(struct call_return_processor)); in call_return_processor__new()
311 if (!crp) in call_return_processor__new()
313 crp->cpr = call_path_root__new(); in call_return_processor__new()
314 if (!crp->cpr) in call_return_processor__new()
316 crp->process = process; in call_return_processor__new()
317 crp->data = data; in call_return_processor__new()
318 return crp; in call_return_processor__new()
321 free(crp); in call_return_processor__new()
325 void call_return_processor__free(struct call_return_processor *crp) in call_return_processor__free() argument
327 if (crp) { in call_return_processor__free()
328 call_path_root__free(crp->cpr); in call_return_processor__free()
329 free(crp); in call_return_processor__free()
405 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__bottom()
435 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__no_call_return()
516 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__trace_end()
539 struct call_return_processor *crp) in thread_stack__process() argument
545 if (!ts->crp) { in thread_stack__process()
548 thread->ts = thread_stack__new(thread, crp); in thread_stack__process()
555 thread->ts = thread_stack__new(thread, crp); in thread_stack__process()
582 struct call_path_root *cpr = ts->crp->cpr; in thread_stack__process()