Lines Matching refs:kernel_start
96 u64 kernel_start; member
162 ts->kernel_start = machine__kernel_start(machine); in thread_stack__init()
166 ts->kernel_start = 1ULL << 63; in thread_stack__init()
515 static inline u64 callchain_context(u64 ip, u64 kernel_start) in callchain_context() argument
517 return ip < kernel_start ? PERF_CONTEXT_USER : PERF_CONTEXT_KERNEL; in callchain_context()
522 size_t sz, u64 ip, u64 kernel_start) in thread_stack__sample() argument
525 u64 context = callchain_context(ip, kernel_start); in thread_stack__sample()
546 context = callchain_context(ip, kernel_start); in thread_stack__sample()
565 u64 sample_ip, u64 kernel_start) in thread_stack__sample_late() argument
568 u64 sample_context = callchain_context(sample_ip, kernel_start); in thread_stack__sample_late()
587 context = callchain_context(ip, kernel_start); in thread_stack__sample_late()
597 context = callchain_context(ip, kernel_start); in thread_stack__sample_late()
649 static bool us_start(struct branch_entry *be, u64 kernel_start, bool *start) in us_start() argument
652 *start = be->to && be->to < kernel_start; in us_start()
661 static bool ks_start(struct branch_entry *be, u64 sample_ip, u64 kernel_start, in ks_start() argument
666 be->from < kernel_start || in ks_start()
667 (be->to && be->to < kernel_start); in ks_start()
679 u64 ip, u64 kernel_start) in thread_stack__br_sample_late() argument
702 if (ip < kernel_start) { in thread_stack__br_sample_late()
708 if (us_start(s, kernel_start, &start)) { in thread_stack__br_sample_late()
716 if (us_start(s, kernel_start, &start)) { in thread_stack__br_sample_late()
731 if (ks_start(s, ip, kernel_start, &start, nb)) { in thread_stack__br_sample_late()
740 if (ks_start(s, ip, kernel_start, &start, nb)) { in thread_stack__br_sample_late()
879 ts->kernel_start); in thread_stack__bottom()
913 u64 ks = ts->kernel_start; in thread_stack__no_call_return()
1030 ts->kernel_start); in thread_stack__trace_end()
1092 sample->addr, ts->kernel_start); in thread_stack__x86_retpoline()
1164 ts->kernel_start); in thread_stack__process()
1223 ts->kernel_start); in thread_stack__process()