10 #define STACK_SIZE 8192 22 pr_debug(
"failed to allocate sample uregs data\n");
26 sp = (
unsigned long) regs[PERF_REG_ARM64_SP];
30 pr_debug(
"failed to get stack map\n");
35 stack_size = map->
end - sp;
38 memcpy(buf, (
void *) sp, stack_size);
39 stack->
data = (
char *) buf;
40 stack->
size = stack_size;
52 pr_debug(
"failed to allocate sample uregs data\n");
static int sample_ustack(struct perf_sample *sample, struct thread *thread, u64 *regs)
void perf_regs_load(u64 *regs)
#define pr_debug(fmt,...)
#define PERF_SAMPLE_REGS_ABI
struct regs_dump user_regs
x86 movsq based memcpy() in arch/x86/lib/memcpy_64.S") MEMCPY_FN(memcpy_erms
static struct map * map_groups__find(struct map_groups *mg, u64 addr)
int test__arch_unwind_sample(struct perf_sample *sample, struct thread *thread)
struct stack_dump user_stack