tools/perf/perf.h

Source file repositories/reference/linux-study-clean/tools/perf/perf.h

File Facts

System
Linux kernel
Corpus path
tools/perf/perf.h
Extension
.h
Size
226 bytes
Lines
15
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

#ifndef _PERF_PERF_H
#define _PERF_PERF_H

#define MAX_NR_CPUS			4096

enum perf_affinity {
	PERF_AFFINITY_SYS = 0,
	PERF_AFFINITY_NODE,
	PERF_AFFINITY_CPU,
	PERF_AFFINITY_MAX
};

#endif

Annotation

Implementation Notes