tools/perf/util/intel-tpebs.h

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

File Facts

System
Linux kernel
Corpus path
tools/perf/util/intel-tpebs.h
Extension
.h
Size
522 bytes
Lines
26
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 __INTEL_TPEBS_H
#define __INTEL_TPEBS_H

struct evlist;
struct evsel;

enum tpebs_mode {
	TPEBS_MODE__MEAN,
	TPEBS_MODE__MIN,
	TPEBS_MODE__MAX,
	TPEBS_MODE__LAST,
};

extern bool tpebs_recording;
extern enum tpebs_mode tpebs_mode;

int evsel__tpebs_open(struct evsel *evsel);
void evsel__tpebs_close(struct evsel *evsel);
int evsel__tpebs_read(struct evsel *evsel, int cpu_map_idx, int thread);

#endif /* __INTEL_TPEBS_H */

Annotation

Implementation Notes