• Home
  • Raw
  • Download

Lines Matching full:sample

35  * @ref: external reference (e.g. db_id of sample)
427 struct perf_sample *sample, in thread_stack__bottom() argument
436 if (sample->ip) { in thread_stack__bottom()
437 ip = sample->ip; in thread_stack__bottom()
439 } else if (sample->addr) { in thread_stack__bottom()
440 ip = sample->addr; in thread_stack__bottom()
451 return thread_stack__push_cp(thread->ts, ip, sample->time, ref, cp, in thread_stack__bottom()
457 struct perf_sample *sample, in thread_stack__no_call_return() argument
466 if (sample->ip >= ks && sample->addr < ks) { in thread_stack__no_call_return()
470 sample->time, ref, in thread_stack__no_call_return()
479 to_al->sym, sample->addr, in thread_stack__no_call_return()
483 return thread_stack__push_cp(ts, 0, sample->time, ref, in thread_stack__no_call_return()
486 } else if (thread_stack__in_kernel(ts) && sample->ip < ks) { in thread_stack__no_call_return()
490 sample->time, ref, in thread_stack__no_call_return()
503 cp = call_path__findnew(cpr, parent, from_al->sym, sample->ip, in thread_stack__no_call_return()
508 err = thread_stack__push_cp(ts, sample->addr, sample->time, ref, cp, in thread_stack__no_call_return()
513 return thread_stack__pop_cp(thread, ts, sample->addr, sample->time, ref, in thread_stack__no_call_return()
540 struct perf_sample *sample, u64 ref) in thread_stack__trace_end() argument
555 ret_addr = sample->ip + sample->insn_len; in thread_stack__trace_end()
557 return thread_stack__push_cp(ts, ret_addr, sample->time, ref, cp, in thread_stack__trace_end()
562 struct perf_sample *sample, in thread_stack__process() argument
598 err = thread_stack__bottom(thread, ts, sample, from_al, to_al, in thread_stack__process()
605 ts->last_time = sample->time; in thread_stack__process()
607 if (sample->flags & PERF_IP_FLAG_CALL) { in thread_stack__process()
612 if (!sample->ip || !sample->addr) in thread_stack__process()
615 ret_addr = sample->ip + sample->insn_len; in thread_stack__process()
616 if (ret_addr == sample->addr) in thread_stack__process()
620 to_al->sym, sample->addr, in thread_stack__process()
624 err = thread_stack__push_cp(ts, ret_addr, sample->time, ref, in thread_stack__process()
626 } else if (sample->flags & PERF_IP_FLAG_RETURN) { in thread_stack__process()
627 if (!sample->ip || !sample->addr) in thread_stack__process()
630 err = thread_stack__pop_cp(thread, ts, sample->addr, in thread_stack__process()
631 sample->time, ref, from_al->sym); in thread_stack__process()
635 err = thread_stack__no_call_return(thread, ts, sample, in thread_stack__process()
638 } else if (sample->flags & PERF_IP_FLAG_TRACE_BEGIN) { in thread_stack__process()
639 err = thread_stack__trace_begin(thread, ts, sample->time, ref); in thread_stack__process()
640 } else if (sample->flags & PERF_IP_FLAG_TRACE_END) { in thread_stack__process()
641 err = thread_stack__trace_end(ts, sample, ref); in thread_stack__process()