drivers/soc/qcom/pmic_pdcharger_ulog.h

Source file repositories/reference/linux-study-clean/drivers/soc/qcom/pmic_pdcharger_ulog.h

File Facts

System
Linux kernel
Corpus path
drivers/soc/qcom/pmic_pdcharger_ulog.h
Extension
.h
Size
742 bytes
Lines
37
Domain
Driver Families
Bucket
drivers/soc
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

#undef TRACE_SYSTEM
#define TRACE_SYSTEM pmic_pdcharger_ulog

#if !defined(_TRACE_PMIC_PDCHARGER_ULOG_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_PMIC_PDCHARGER_ULOG_H

#include <linux/tracepoint.h>

TRACE_EVENT(pmic_pdcharger_ulog_msg,
	TP_PROTO(char *msg),
	TP_ARGS(msg),
	TP_STRUCT__entry(
		__string(msg, msg)
	),
	TP_fast_assign(
		__assign_str(msg);
	),
	TP_printk("%s", __get_str(msg))
);

#endif /* _TRACE_PMIC_PDCHARGER_ULOG_H */

/* This part must be outside protection */

#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .

#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE pmic_pdcharger_ulog

#include <trace/define_trace.h>

Annotation

Implementation Notes