Lines Matching refs:cp
61 struct call_path *cp; member
295 return ts->stack[ts->cnt - 1].cp->in_kernel; in thread_stack__in_kernel()
312 cr.cp = tse->cp; in thread_stack__call_return()
783 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp() argument
789 if (!cp) in thread_stack__push_cp()
805 tse->cp = cp; in thread_stack__push_cp()
826 if (tse->cp->sym == sym) in thread_stack__pop_cp()
865 struct call_path *cp; in thread_stack__bottom() local
879 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom()
882 return thread_stack__push_cp(ts, ip, sample->time, ref, cp, in thread_stack__bottom()
913 struct call_path *cp, *parent; in thread_stack__no_call_return() local
928 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
929 return thread_stack__push_cp(ts, 0, tm, ref, cp, true, in thread_stack__no_call_return()
940 parent = ts->stack[ts->cnt - 1].cp; in thread_stack__no_call_return()
958 cp = call_path__findnew(cpr, root, tsym, addr, ks); in thread_stack__no_call_return()
960 return thread_stack__push_cp(ts, addr, tm, ref, cp, in thread_stack__no_call_return()
968 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return()
970 err = thread_stack__push_cp(ts, 0, tm, ref, cp, true, false); in thread_stack__no_call_return()
982 cp = call_path__findnew(cpr, parent, tsym, addr, ks); in thread_stack__no_call_return()
984 err = thread_stack__push_cp(ts, addr, tm, ref, cp, true, false); in thread_stack__no_call_return()
988 cp = call_path__findnew(cpr, cp, fsym, ip, ks); in thread_stack__no_call_return()
990 err = thread_stack__push_cp(ts, ip, tm, ref, cp, true, false); in thread_stack__no_call_return()
1023 struct call_path *cp; in thread_stack__trace_end() local
1030 cp = call_path__findnew(cpr, ts->stack[ts->cnt - 1].cp, NULL, 0, in thread_stack__trace_end()
1035 return thread_stack__push_cp(ts, ret_addr, sample->time, ref, cp, in thread_stack__trace_end()
1055 struct symbol *sym = tse->cp->sym; in thread_stack__x86_retpoline()
1057 struct call_path *cp; in thread_stack__x86_retpoline() local
1071 sym = ts->stack[ts->cnt - 2].cp->sym; in thread_stack__x86_retpoline()
1090 cp = call_path__findnew(cpr, ts->stack[ts->cnt - 2].cp, tsym, in thread_stack__x86_retpoline()
1092 if (!cp) in thread_stack__x86_retpoline()
1096 ts->stack[ts->cnt - 1].cp = cp; in thread_stack__x86_retpoline()
1151 struct call_path *cp; in thread_stack__process() local
1161 cp = call_path__findnew(cpr, ts->stack[ts->cnt - 1].cp, in thread_stack__process()
1165 cp, false, trace_end); in thread_stack__process()
1212 struct call_path *cp; in thread_stack__process() local
1220 cp = call_path__findnew(cpr, ts->stack[ts->cnt - 1].cp, in thread_stack__process()
1223 err = thread_stack__push_cp(ts, 0, sample->time, ref, cp, false, in thread_stack__process()