Some places were including event.h just to get 'struct perf_sample', move it to a separate place so that we speed up a bit the build. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
15 lines
346 B
C
15 lines
346 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <inttypes.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include "debug.h"
|
|
#include "symbol.h"
|
|
#include "callchain.h"
|
|
#include "record.h"
|
|
#include "util/perf_regs.h"
|
|
|
|
void arch__add_leaf_frame_record_opts(struct record_opts *opts)
|
|
{
|
|
opts->sample_user_regs |= sample_reg_masks[PERF_REG_ARM64_LR].mask;
|
|
}
|