thread_stack__depth
size_t depth = thread_stack__depth(thread, sample->cpu);
int depth = thread_stack__depth(thread, sample->cpu);
size_t thread_stack__depth(struct thread *thread, int cpu);