Linux Perf
perf_regs.h File Reference
#include <linux/types.h>
#include <linux/compiler.h>
Include dependency graph for perf_regs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sample_reg
 

Macros

#define SMPL_REG(n, b)   { .name = #n, .mask = 1ULL << (b) }
 
#define SMPL_REG_END   { .name = NULL }
 
#define PERF_REGS_MASK   0
 
#define PERF_REGS_MAX   0
 

Enumerations

enum  { SDT_ARG_VALID = 0, SDT_ARG_SKIP }
 

Functions

int arch_sdt_arg_parse_op (char *old_op, char **new_op)
 
static const char * perf_reg_name (int id __maybe_unused)
 
static int perf_reg_value (u64 *valp __maybe_unused, struct regs_dump *regs __maybe_unused, int id __maybe_unused)
 

Variables

const struct sample_reg sample_reg_masks []
 

Macro Definition Documentation

◆ PERF_REGS_MASK

#define PERF_REGS_MASK   0

Definition at line 32 of file perf_regs.h.

◆ PERF_REGS_MAX

#define PERF_REGS_MAX   0

Definition at line 33 of file perf_regs.h.

◆ SMPL_REG

#define SMPL_REG (   n,
 
)    { .name = #n, .mask = 1ULL << (b) }

Definition at line 14 of file perf_regs.h.

◆ SMPL_REG_END

#define SMPL_REG_END   { .name = NULL }

Definition at line 15 of file perf_regs.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SDT_ARG_VALID 
SDT_ARG_SKIP 

Definition at line 19 of file perf_regs.h.

Function Documentation

◆ arch_sdt_arg_parse_op()

int arch_sdt_arg_parse_op ( char *  old_op,
char **  new_op 
)

Definition at line 110 of file perf_regs.c.

Here is the call graph for this function:

◆ perf_reg_name()

static const char* perf_reg_name ( int id  __maybe_unused)
inlinestatic

Definition at line 35 of file perf_regs.h.

◆ perf_reg_value()

static int perf_reg_value ( u64 *valp  __maybe_unused,
struct regs_dump *regs  __maybe_unused,
int id  __maybe_unused 
)
inlinestatic

Definition at line 40 of file perf_regs.h.

Variable Documentation

◆ sample_reg_masks

const struct sample_reg sample_reg_masks[]

Definition at line 11 of file perf_regs.c.