Lines Matching defs: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)
757 struct call_return_processor *crp;
759 crp = zalloc(sizeof(struct call_return_processor));
760 if (!crp)
762 crp->cpr = call_path_root__new();
763 if (!crp->cpr)
765 crp->process = process;
766 crp->data = data;
767 return crp;
770 free(crp);
774 void call_return_processor__free(struct call_return_processor *crp)
776 if (crp) {
777 call_path_root__free(crp->cpr);
778 free(crp);
864 struct call_path_root *cpr = ts->crp->cpr;
909 struct call_path_root *cpr = ts->crp->cpr;
1022 struct call_path_root *cpr = ts->crp->cpr;
1054 struct call_path_root *cpr = ts->crp->cpr;
1105 struct call_return_processor *crp)
1111 if (ts && !ts->crp) {
1118 ts = thread_stack__new(thread, sample->cpu, crp, true, 0);
1150 struct call_path_root *cpr = ts->crp->cpr;
1211 struct call_path_root *cpr = ts->crp->cpr;