File: machine.c

package info (click to toggle)
linux 6.19.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,760,156 kB
  • sloc: ansic: 27,015,282; asm: 273,419; sh: 151,386; python: 81,301; makefile: 58,565; perl: 34,311; xml: 21,064; cpp: 5,986; yacc: 4,841; lex: 2,901; awk: 1,707; sed: 30; ruby: 25
file content (18 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (32)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 "perf_regs.h"
#include "record.h"
#include "util/perf_regs.h"

void arch__add_leaf_frame_record_opts(struct record_opts *opts)
{
	const struct sample_reg *sample_reg_masks = arch__sample_reg_masks();

	opts->sample_user_regs |= sample_reg_masks[PERF_REG_ARM64_LR].mask;
}