Home
last modified time | relevance | path

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

/linux-6.6.21/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()
638 nr = min(ts->br_stack_sz - ts->br_stack_pos, (unsigned int)dst->nr); in thread_stack__br_sample()
639 memcpy(be, &src->entries[ts->br_stack_pos], bsz * nr); in thread_stack__br_sample()
644 nr = min(ts->br_stack_pos, sz); in thread_stack__br_sample()
645 memcpy(be, &src->entries[0], bsz * ts->br_stack_pos); in thread_stack__br_sample()
[all …]