Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dannotate.c104 struct ins *new_instructions; in arch__grow_instructions() local
111 new_instructions = realloc(arch->instructions, new_nr_allocated * sizeof(struct ins)); in arch__grow_instructions()
112 if (new_instructions == NULL) in arch__grow_instructions()
116 arch->instructions = new_instructions; in arch__grow_instructions()
122 new_instructions = calloc(new_nr_allocated, sizeof(struct ins)); in arch__grow_instructions()
123 if (new_instructions == NULL) in arch__grow_instructions()
126 memcpy(new_instructions, arch->instructions, arch->nr_instructions); in arch__grow_instructions()