Lines Matching refs:thread_stack
88 struct thread_stack { struct
118 static int thread_stack__grow(struct thread_stack *ts) in thread_stack__grow() argument
136 static int thread_stack__init(struct thread_stack *ts, struct thread *thread, in thread_stack__init()
173 static struct thread_stack *thread_stack__new(struct thread *thread, int cpu, in thread_stack__new()
178 struct thread_stack *ts = thread__ts(thread), *new_ts; in thread_stack__new()
208 static struct thread_stack *thread__cpu_stack(struct thread *thread, int cpu) in thread__cpu_stack()
210 struct thread_stack *ts = thread__ts(thread); in thread__cpu_stack()
226 static inline struct thread_stack *thread__stack(struct thread *thread, in thread__stack()
238 static int thread_stack__push(struct thread_stack *ts, u64 ret_addr, in thread_stack__push()
257 static void thread_stack__pop(struct thread_stack *ts, u64 ret_addr) in thread_stack__pop()
278 static void thread_stack__pop_trace_end(struct thread_stack *ts) in thread_stack__pop_trace_end()
290 static bool thread_stack__in_kernel(struct thread_stack *ts) in thread_stack__in_kernel()
299 struct thread_stack *ts, size_t idx, in thread_stack__call_return()
338 static int __thread_stack__flush(struct thread *thread, struct thread_stack *ts) in __thread_stack__flush()
366 struct thread_stack *ts = thread__ts(thread); in thread_stack__flush()
382 static void thread_stack__update_br_stack(struct thread_stack *ts, u32 flags, in thread_stack__update_br_stack()
410 struct thread_stack *ts = thread__stack(thread, cpu); in thread_stack__event()
475 struct thread_stack *ts = thread__stack(thread, cpu); in thread_stack__set_trace_nr()
487 static void __thread_stack__free(struct thread *thread, struct thread_stack *ts) in __thread_stack__free()
494 static void thread_stack__reset(struct thread *thread, struct thread_stack *ts) in thread_stack__reset()
505 struct thread_stack *ts = thread__ts(thread); in thread_stack__free()
525 struct thread_stack *ts = thread__stack(thread, cpu); in thread_stack__sample()
568 struct thread_stack *ts = thread__stack(thread, cpu); in thread_stack__sample_late()
620 struct thread_stack *ts = thread__stack(thread, cpu); in thread_stack__br_sample()
682 struct thread_stack *ts = thread__stack(thread, cpu); in thread_stack__br_sample_late()
782 static int thread_stack__push_cp(struct thread_stack *ts, u64 ret_addr, in thread_stack__push_cp()
814 static int thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, in thread_stack__pop_cp()
859 static int thread_stack__bottom(struct thread_stack *ts, in thread_stack__bottom()
886 static int thread_stack__pop_ks(struct thread *thread, struct thread_stack *ts, in thread_stack__pop_ks()
904 struct thread_stack *ts, in thread_stack__no_call_return()
998 struct thread_stack *ts, u64 timestamp, in thread_stack__trace_begin()
1019 static int thread_stack__trace_end(struct thread_stack *ts, in thread_stack__trace_end()
1049 static int thread_stack__x86_retpoline(struct thread_stack *ts, in thread_stack__x86_retpoline()
1107 struct thread_stack *ts = thread__stack(thread, sample->cpu); in thread_stack__process()
1234 struct thread_stack *ts = thread__stack(thread, cpu); in thread_stack__depth()