Home
last modified time | relevance | path

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

/tools/perf/util/
Dthread-stack.c120 struct thread_stack_entry *new_stack; in thread_stack__grow() local
126 new_stack = realloc(ts->stack, sz); in thread_stack__grow()
127 if (!new_stack) in thread_stack__grow()
130 ts->stack = new_stack; in thread_stack__grow()
/tools/lib/bpf/
Dbtf_dump.c1115 __u32 *new_stack; in btf_dump_push_decl_stack_id() local
1120 new_stack = libbpf_reallocarray(d->decl_stack, new_cap, sizeof(new_stack[0])); in btf_dump_push_decl_stack_id()
1121 if (!new_stack) in btf_dump_push_decl_stack_id()
1123 d->decl_stack = new_stack; in btf_dump_push_decl_stack_id()