Lines Matching defs:thread_stack
68 * struct thread_stack - thread stack constructed from 'call' and 'return'
88 struct thread_stack {
118 static int thread_stack__grow(struct thread_stack *ts)
136 static int thread_stack__init(struct thread_stack *ts, struct thread *thread,
173 static struct thread_stack *thread_stack__new(struct thread *thread, int cpu,
178 struct thread_stack *ts = thread->ts, *new_ts;
208 static struct thread_stack *thread__cpu_stack(struct thread *thread, int cpu)
210 struct thread_stack *ts = thread->ts;
226 static inline struct thread_stack *thread__stack(struct thread *thread,
238 static int thread_stack__push(struct thread_stack *ts, u64 ret_addr,
257 static void thread_stack__pop(struct thread_stack *ts, u64 ret_addr)
278 static void thread_stack__pop_trace_end(struct thread_stack *ts)
290 static bool thread_stack__in_kernel(struct thread_stack *ts)
299 struct thread_stack *ts, size_t idx,
338 static int __thread_stack__flush(struct thread *thread, struct thread_stack *ts)
366 struct thread_stack *ts = thread->ts;
382 static void thread_stack__update_br_stack(struct thread_stack *ts, u32 flags,
410 struct thread_stack *ts = thread__stack(thread, cpu);
475 struct thread_stack *ts = thread__stack(thread, cpu);
487 static void __thread_stack__free(struct thread *thread, struct thread_stack *ts)
494 static void thread_stack__reset(struct thread *thread, struct thread_stack *ts)
505 struct thread_stack *ts = thread->ts;
524 struct thread_stack *ts = thread__stack(thread, cpu);
567 struct thread_stack *ts = thread__stack(thread, cpu);
619 struct thread_stack *ts = thread__stack(thread, cpu);
681 struct thread_stack *ts = thread__stack(thread, cpu);
781 static int thread_stack__push_cp(struct thread_stack *ts, u64 ret_addr,
813 static int thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts,
858 static int thread_stack__bottom(struct thread_stack *ts,
885 static int thread_stack__pop_ks(struct thread *thread, struct thread_stack *ts,
903 struct thread_stack *ts,
997 struct thread_stack *ts, u64 timestamp,
1018 static int thread_stack__trace_end(struct thread_stack *ts,
1050 static int thread_stack__x86_retpoline(struct thread_stack *ts,
1108 struct thread_stack *ts = thread__stack(thread, sample->cpu);
1235 struct thread_stack *ts = thread__stack(thread, cpu);