perf_regs.h (ec87c99de48933e8b9b530b08e51832b400256bd) perf_regs.h (9a4e47ef98a3041f6d2869ba2cd3401701776275)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __PERF_REGS_H
3#define __PERF_REGS_H
4
5#include <linux/types.h>
6#include <linux/compiler.h>
7
8struct regs_dump;

--- 12 unchanged lines hidden (view full) ---

21enum {
22 SDT_ARG_VALID = 0,
23 SDT_ARG_SKIP,
24};
25
26int arch_sdt_arg_parse_op(char *old_op, char **new_op);
27uint64_t arch__intr_reg_mask(void);
28uint64_t arch__user_reg_mask(void);
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __PERF_REGS_H
3#define __PERF_REGS_H
4
5#include <linux/types.h>
6#include <linux/compiler.h>
7
8struct regs_dump;

--- 12 unchanged lines hidden (view full) ---

21enum {
22 SDT_ARG_VALID = 0,
23 SDT_ARG_SKIP,
24};
25
26int arch_sdt_arg_parse_op(char *old_op, char **new_op);
27uint64_t arch__intr_reg_mask(void);
28uint64_t arch__user_reg_mask(void);
29const struct sample_reg *arch__sample_reg_masks(void);
29
30
30extern const struct sample_reg sample_reg_masks[];
31
32const char *perf_reg_name(int id, const char *arch);
33int perf_reg_value(u64 *valp, struct regs_dump *regs, int id);
34uint64_t perf_arch_reg_ip(const char *arch);
35uint64_t perf_arch_reg_sp(const char *arch);
36const char *__perf_reg_name_arm64(int id);
37uint64_t __perf_reg_ip_arm64(void);
38uint64_t __perf_reg_sp_arm64(void);
39const char *__perf_reg_name_arm(int id);

--- 30 unchanged lines hidden ---
31const char *perf_reg_name(int id, const char *arch);
32int perf_reg_value(u64 *valp, struct regs_dump *regs, int id);
33uint64_t perf_arch_reg_ip(const char *arch);
34uint64_t perf_arch_reg_sp(const char *arch);
35const char *__perf_reg_name_arm64(int id);
36uint64_t __perf_reg_ip_arm64(void);
37uint64_t __perf_reg_sp_arm64(void);
38const char *__perf_reg_name_arm(int id);

--- 30 unchanged lines hidden ---