tools/perf/arch/x86/util/topdown.h

Source file repositories/reference/linux-study-clean/tools/perf/arch/x86/util/topdown.h

File Facts

System
Linux kernel
Corpus path
tools/perf/arch/x86/util/topdown.h
Extension
.h
Size
389 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

#ifndef _TOPDOWN_H
#define _TOPDOWN_H 1

#include <stdbool.h>

struct evsel;
struct list_head;

bool topdown_sys_has_perf_metrics(void);
bool arch_is_topdown_slots(const struct evsel *evsel);
bool arch_is_topdown_metrics(const struct evsel *evsel);
int topdown_insert_slots_event(struct list_head *list, int idx, struct evsel *metric_event);

#endif

Annotation

Implementation Notes