drivers/perf/arm_brbe.h

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

File Facts

System
Linux kernel
Corpus path
drivers/perf/arm_brbe.h
Extension
.h
Size
1243 bytes
Lines
48
Domain
Driver Families
Bucket
drivers/perf
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

static inline void brbe_probe(struct arm_pmu *arm_pmu) { }
static inline unsigned int brbe_num_branch_records(const struct arm_pmu *armpmu)
{
	return 0;
}

static inline void brbe_invalidate(void) { }

static inline void brbe_enable(const struct arm_pmu *arm_pmu) { };
static inline void brbe_disable(void) { };

static inline bool brbe_branch_attr_valid(struct perf_event *event)
{
	WARN_ON_ONCE(!has_branch_stack(event));
	return false;
}

static void brbe_read_filtered_entries(struct perf_branch_stack *branch_stack,
				       const struct perf_event *event)
{
}
#endif

Annotation

Implementation Notes