include/trace/events/fsi.h
Source file repositories/reference/linux-study-clean/include/trace/events/fsi.h
File Facts
- System
- Linux kernel
- Corpus path
include/trace/events/fsi.h- Extension
.h- Size
- 5719 bytes
- Lines
- 246
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
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 fsi
#if !defined(_TRACE_FSI_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_FSI_H
#include <linux/tracepoint.h>
TRACE_EVENT(fsi_master_read,
TP_PROTO(const struct fsi_master *master, int link, int id,
uint32_t addr, size_t size),
TP_ARGS(master, link, id, addr, size),
TP_STRUCT__entry(
__field(int, master_idx)
__field(int, link)
__field(int, id)
__field(__u32, addr)
__field(size_t, size)
),
TP_fast_assign(
__entry->master_idx = master->idx;
__entry->link = link;
__entry->id = id;
__entry->addr = addr;
__entry->size = size;
),
TP_printk("fsi%d:%02d:%02d %08x[%zu]",
__entry->master_idx,
__entry->link,
__entry->id,
__entry->addr,
__entry->size
)
);
TRACE_EVENT(fsi_master_write,
TP_PROTO(const struct fsi_master *master, int link, int id,
uint32_t addr, size_t size, const void *data),
TP_ARGS(master, link, id, addr, size, data),
TP_STRUCT__entry(
__field(int, master_idx)
__field(int, link)
__field(int, id)
__field(__u32, addr)
__field(size_t, size)
__field(__u32, data)
),
TP_fast_assign(
__entry->master_idx = master->idx;
__entry->link = link;
__entry->id = id;
__entry->addr = addr;
__entry->size = size;
__entry->data = 0;
memcpy(&__entry->data, data, size);
),
TP_printk("fsi%d:%02d:%02d %08x[%zu] <= {%*ph}",
__entry->master_idx,
__entry->link,
__entry->id,
__entry->addr,
__entry->size,
(int)__entry->size, &__entry->data
)
);
TRACE_EVENT(fsi_master_rw_result,
TP_PROTO(const struct fsi_master *master, int link, int id,
uint32_t addr, size_t size,
bool write, const void *data, int ret),
TP_ARGS(master, link, id, addr, size, write, data, ret),
TP_STRUCT__entry(
__field(int, master_idx)
__field(int, link)
__field(int, id)
__field(__u32, addr)
__field(size_t, size)
__field(bool, write)
__field(__u32, data)
__field(int, ret)
),
TP_fast_assign(
__entry->master_idx = master->idx;
__entry->link = link;
__entry->id = id;
__entry->addr = addr;
__entry->size = size;
__entry->write = write;
__entry->data = 0;
__entry->ret = ret;
Annotation
- Immediate include surface: `linux/tracepoint.h`, `trace/define_trace.h`.
- Atlas domain: Repository Root And Misc / include.
- 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.