kernel/trace/fprobe.c
Source file repositories/reference/linux-study-clean/kernel/trace/fprobe.c
File Facts
- System
- Linux kernel
- Corpus path
kernel/trace/fprobe.c- Extension
.c- Size
- 29086 bytes
- Lines
- 1138
- Domain
- Core OS
- Bucket
- Scheduler, Processes, Timers, Sync, And Syscalls
- Inferred role
- Core OS: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/cleanup.hlinux/err.hlinux/fprobe.hlinux/kallsyms.hlinux/kprobes.hlinux/list.hlinux/mutex.hlinux/rhashtable.hlinux/slab.hlinux/sort.hasm/fprobe.htrace.h
Detected Declarations
struct __fprobe_headerstruct fprobe_addr_liststruct filter_match_datafunction fprobe_node_hashfnfunction fprobe_node_cmpfunction fprobe_node_obj_hashfnfunction __insert_fprobe_nodefunction __delete_fprobe_nodefunction fprobe_registeredfunction lockdep_is_heldfunction add_fprobe_hashfunction del_fprobe_hashfunction write_fprobe_headerfunction read_fprobe_headerfunction write_fprobe_headerfunction read_fprobe_headerfunction __fprobe_handlerfunction __fprobe_kprobe_handlerfunction fprobe_graph_add_ipsfunction __fprobe_graph_unregisterfunction fprobe_graph_remove_ipsfunction fprobe_ftrace_entryfunction rhl_for_each_entry_rcufunction fprobe_ftrace_add_ipsfunction __fprobe_ftrace_unregisterfunction fprobe_ftrace_remove_ipsfunction fprobe_is_ftracefunction insert_fprobe_nodefunction delete_fprobe_nodefunction fprobe_exists_on_hashfunction fprobe_remove_ipsfunction fprobe_ftrace_add_ipsfunction fprobe_ftrace_remove_ipsfunction insert_fprobe_nodefunction delete_fprobe_nodefunction fprobe_exists_on_hashfunction fprobe_remove_ipsfunction fprobe_fgraph_entryfunction fprobe_returnfunction fprobe_remove_node_in_modulefunction fprobe_module_callbackfunction init_fprobe_modulefunction symbols_cmpfunction filter_match_callbackfunction get_ips_from_filterfunction fprobe_fail_cleanupfunction fprobe_initfunction fprobe_count_ips_from_filter
Annotated Snippet
core_initcall(fprobe_initcall);
Annotation
- Immediate include surface: `linux/cleanup.h`, `linux/err.h`, `linux/fprobe.h`, `linux/kallsyms.h`, `linux/kprobes.h`, `linux/list.h`, `linux/mutex.h`, `linux/rhashtable.h`.
- Detected declarations: `struct __fprobe_header`, `struct fprobe_addr_list`, `struct filter_match_data`, `function fprobe_node_hashfn`, `function fprobe_node_cmp`, `function fprobe_node_obj_hashfn`, `function __insert_fprobe_node`, `function __delete_fprobe_node`, `function fprobe_registered`, `function lockdep_is_held`.
- Atlas domain: Core OS / Scheduler, Processes, Timers, Sync, And Syscalls.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.