Home
last modified time | relevance | path

Searched refs:br_stack_pos (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/tools/perf/util/
Dthread-stack.c104 unsigned int br_stack_pos; member
345 ts->br_stack_pos = 0; in __thread_stack__flush()
388 if (!ts->br_stack_pos) in thread_stack__update_br_stack()
389 ts->br_stack_pos = ts->br_stack_sz; in thread_stack__update_br_stack()
391 ts->br_stack_pos -= 1; in thread_stack__update_br_stack()
393 be = &bs->entries[ts->br_stack_pos]; in thread_stack__update_br_stack()
637 nr = min(ts->br_stack_sz - ts->br_stack_pos, (unsigned int)dst->nr); in thread_stack__br_sample()
638 memcpy(be, &src->entries[ts->br_stack_pos], bsz * nr); in thread_stack__br_sample()
643 nr = min(ts->br_stack_pos, sz); in thread_stack__br_sample()
644 memcpy(be, &src->entries[0], bsz * ts->br_stack_pos); in thread_stack__br_sample()
[all …]