drivers/soc/qcom/trace_icc-bwmon.h
Source file repositories/reference/linux-study-clean/drivers/soc/qcom/trace_icc-bwmon.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/soc/qcom/trace_icc-bwmon.h- Extension
.h- Size
- 1236 bytes
- Lines
- 49
- 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.
- 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
linux/tracepoint.htrace/define_trace.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#undef TRACE_SYSTEM
#define TRACE_SYSTEM icc_bwmon
#if !defined(_TRACE_ICC_BWMON_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_ICC_BWMON_H
#include <linux/tracepoint.h>
TRACE_EVENT(qcom_bwmon_update,
TP_PROTO(const char *name,
unsigned int meas_kbps, unsigned int up_kbps, unsigned int down_kbps),
TP_ARGS(name, meas_kbps, up_kbps, down_kbps),
TP_STRUCT__entry(
__string(name, name)
__field(unsigned int, meas_kbps)
__field(unsigned int, up_kbps)
__field(unsigned int, down_kbps)
),
TP_fast_assign(
__assign_str(name);
__entry->meas_kbps = meas_kbps;
__entry->up_kbps = up_kbps;
__entry->down_kbps = down_kbps;
),
TP_printk("name=%s meas_kbps=%u up_kbps=%u down_kbps=%u",
__get_str(name),
__entry->meas_kbps,
__entry->up_kbps,
__entry->down_kbps)
);
#endif /* _TRACE_ICC_BWMON_H */
#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH ../../drivers/soc/qcom/
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE trace_icc-bwmon
#include <trace/define_trace.h>
Annotation
- Immediate include surface: `linux/tracepoint.h`, `trace/define_trace.h`.
- Atlas domain: Driver Families / drivers/soc.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.