perf_regs.h (03ab8e6297acd1bc0eedaa050e2a1635c576fd11) | perf_regs.h (5000e7f61a1eb82fed98d5d0c8f19477033f0914) |
---|---|
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; --- 22 unchanged lines hidden (view full) --- 31extern const struct sample_reg sample_reg_masks[]; 32 33#include <perf_regs.h> 34 35#define DWARF_MINIMAL_REGS ((1ULL << PERF_REG_IP) | (1ULL << PERF_REG_SP)) 36 37const char *perf_reg_name(int id, const char *arch); 38int perf_reg_value(u64 *valp, struct regs_dump *regs, int id); | 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; --- 22 unchanged lines hidden (view full) --- 31extern const struct sample_reg sample_reg_masks[]; 32 33#include <perf_regs.h> 34 35#define DWARF_MINIMAL_REGS ((1ULL << PERF_REG_IP) | (1ULL << PERF_REG_SP)) 36 37const char *perf_reg_name(int id, const char *arch); 38int perf_reg_value(u64 *valp, struct regs_dump *regs, int id); |
39const char *__perf_reg_name_arm64(int id); 40const char *__perf_reg_name_arm(int id); 41const char *__perf_reg_name_csky(int id); 42const char *__perf_reg_name_loongarch(int id); 43const char *__perf_reg_name_mips(int id); 44const char *__perf_reg_name_powerpc(int id); 45const char *__perf_reg_name_riscv(int id); 46const char *__perf_reg_name_s390(int id); 47const char *__perf_reg_name_x86(int id); |
|
39 40#else 41#define PERF_REGS_MASK 0 42#define PERF_REGS_MAX 0 43 44#define DWARF_MINIMAL_REGS PERF_REGS_MASK 45 46static inline const char *perf_reg_name(int id __maybe_unused, const char *arch __maybe_unused) --- 12 unchanged lines hidden --- | 48 49#else 50#define PERF_REGS_MASK 0 51#define PERF_REGS_MAX 0 52 53#define DWARF_MINIMAL_REGS PERF_REGS_MASK 54 55static inline const char *perf_reg_name(int id __maybe_unused, const char *arch __maybe_unused) --- 12 unchanged lines hidden --- |