Lines Matching refs:crp
79 * @crp: call/return processor
98 struct call_return_processor *crp;
137 struct call_return_processor *crp,
168 ts->crp = crp;
174 struct call_return_processor *crp,
202 thread_stack__init(ts, thread, crp, callstack, br_stack_sz))
302 struct call_return_processor *crp = ts->crp;
335 return crp->process(&cr, parent_db_id, crp->data);
340 struct call_return_processor *crp = ts->crp;
343 if (!crp) {
443 if (ts->crp || !callstack)
756 struct call_return_processor *crp;
758 crp = zalloc(sizeof(struct call_return_processor));
759 if (!crp)
761 crp->cpr = call_path_root__new();
762 if (!crp->cpr)
764 crp->process = process;
765 crp->data = data;
766 return crp;
769 free(crp);
773 void call_return_processor__free(struct call_return_processor *crp)
775 if (crp) {
776 call_path_root__free(crp->cpr);
777 free(crp);
863 struct call_path_root *cpr = ts->crp->cpr;
908 struct call_path_root *cpr = ts->crp->cpr;
1021 struct call_path_root *cpr = ts->crp->cpr;
1055 struct call_path_root *cpr = ts->crp->cpr;
1106 struct call_return_processor *crp)
1112 if (ts && !ts->crp) {
1119 ts = thread_stack__new(thread, sample->cpu, crp, true, 0);
1151 struct call_path_root *cpr = ts->crp->cpr;
1212 struct call_path_root *cpr = ts->crp->cpr;