tools/perf/arch/csky/include/perf_regs.h

Source file repositories/reference/linux-study-clean/tools/perf/arch/csky/include/perf_regs.h

File Facts

System
Linux kernel
Corpus path
tools/perf/arch/csky/include/perf_regs.h
Extension
.h
Size
439 bytes
Lines
16
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

// Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef ARCH_PERF_REGS_H
#define ARCH_PERF_REGS_H

#include <stdlib.h>
#include <linux/types.h>
#include "../../../../arch/csky/include/uapi/asm/perf_regs.h"

#define PERF_REGS_MASK	((1ULL << PERF_REG_CSKY_MAX) - 1)
#define PERF_REGS_MAX	PERF_REG_CSKY_MAX
#define PERF_SAMPLE_REGS_ABI	PERF_SAMPLE_REGS_ABI_32

#endif /* ARCH_PERF_REGS_H */

Annotation

Implementation Notes