Lines Matching +full:memory +full:- +full:map
1 // SPDX-License-Identifier: GPL-2.0
5 #include "map.h"
16 struct stack_dump *stack = &sample->user_stack;
17 struct map *map;
24 return -1;
29 map = maps__find(thread__maps(thread), (u64)sp);
30 if (!map) {
31 pr_debug("failed to get stack map\n");
33 return -1;
36 stack_size = map__end(map) - sp;
37 map__put(map);
48 stack->data = (char *) buf;
49 stack->size = stack_size;
62 return -1;
68 * seen by memory sanitizer. Zero the memory to convince memory
69 * sanitizer the memory is initialized.
74 regs->abi = PERF_SAMPLE_REGS_ABI;
75 regs->regs = buf;
76 regs->mask = PERF_REGS_MASK;