drivers/hwtracing/intel_th/debug.h

Source file repositories/reference/linux-study-clean/drivers/hwtracing/intel_th/debug.h

File Facts

System
Linux kernel
Corpus path
drivers/hwtracing/intel_th/debug.h
Extension
.h
Size
471 bytes
Lines
27
Domain
Driver Families
Bucket
drivers/hwtracing
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

#ifndef __INTEL_TH_DEBUG_H__
#define __INTEL_TH_DEBUG_H__

#ifdef CONFIG_INTEL_TH_DEBUG
extern struct dentry *intel_th_dbg;

void intel_th_debug_init(void);
void intel_th_debug_done(void);
#else
static inline void intel_th_debug_init(void)
{
}

static inline void intel_th_debug_done(void)
{
}
#endif

#endif /* __INTEL_TH_DEBUG_H__ */

Annotation

Implementation Notes