kernel/trace/trace_fprobe.c
Source file repositories/reference/linux-study-clean/kernel/trace/trace_fprobe.c
File Facts
- System
- Linux kernel
- Corpus path
kernel/trace/trace_fprobe.c- Extension
.c- Size
- 40479 bytes
- Lines
- 1590
- 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/fprobe.hlinux/list.hlinux/module.hlinux/mutex.hlinux/rculist.hlinux/security.hlinux/tracepoint.hlinux/uaccess.hasm/ptrace.htrace_dynevent.htrace_probe.htrace_probe_kernel.htrace_probe_tmpl.h
Detected Declarations
struct tracepoint_userstruct trace_fprobestruct __find_tracepoint_cb_datafunction tracepoint_user_registerfunction tracepoint_user_unregisterfunction tracepoint_user_ipfunction __tracepoint_user_freefunction NULLfunction tracepoint_user_putfunction is_trace_fprobefunction trace_fprobe_is_tracepointfunction trace_fprobe_is_busyfunction trace_fprobe_match_command_headfunction trace_fprobe_matchfunction trace_fprobe_is_registeredfunction process_fetch_insnfunction __fentry_trace_funcfunction fentry_trace_funcfunction store_fprobe_entry_datafunction trace_fprobe_entry_handlerfunction __fexit_trace_funcfunction fexit_trace_funcfunction fentry_perf_funcfunction fexit_perf_funcfunction fentry_dispatcherfunction fexit_dispatcherfunction free_trace_fprobefunction itfunction print_fentry_eventfunction print_fexit_eventfunction fentry_event_define_fieldsfunction fexit_event_define_fieldsfunction init_trace_event_callfunction register_fprobe_eventfunction unregister_fprobe_eventfunction __regsiter_tracepoint_fprobefunction trace_fprobe_verify_targetfunction __register_trace_fprobefunction __unregister_trace_fprobefunction unregister_trace_fprobefunction trace_fprobe_has_same_fprobefunction list_for_each_entryfunction append_trace_fprobe_eventfunction register_trace_fprobe_eventfunction __find_tracepoint_module_cbfunction __find_tracepoint_cbfunction tracepoint_user_within_modulefunction tracepoint_user_register_again
Annotated Snippet
core_initcall(init_fprobe_trace_early);
Annotation
- Immediate include surface: `linux/fprobe.h`, `linux/list.h`, `linux/module.h`, `linux/mutex.h`, `linux/rculist.h`, `linux/security.h`, `linux/tracepoint.h`, `linux/uaccess.h`.
- Detected declarations: `struct tracepoint_user`, `struct trace_fprobe`, `struct __find_tracepoint_cb_data`, `function tracepoint_user_register`, `function tracepoint_user_unregister`, `function tracepoint_user_ip`, `function __tracepoint_user_free`, `function NULL`, `function tracepoint_user_put`, `function is_trace_fprobe`.
- 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.