kernel/trace/trace_sched_wakeup.c
Source file repositories/reference/linux-study-clean/kernel/trace/trace_sched_wakeup.c
File Facts
- System
- Linux kernel
- Corpus path
kernel/trace/trace_sched_wakeup.c- Extension
.c- Size
- 20336 bytes
- Lines
- 831
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/kallsyms.hlinux/uaccess.hlinux/ftrace.hlinux/sched/rt.hlinux/sched/deadline.htrace/events/sched.htrace.h
Detected Declarations
function func_prolog_preempt_disablefunction wakeup_display_graphfunction wakeup_graph_entryfunction wakeup_graph_returnfunction wakeup_trace_openfunction wakeup_trace_closefunction wakeup_print_linefunction wakeup_print_headerfunction wakeup_tracer_callfunction register_wakeup_functionfunction unregister_wakeup_functionfunction wakeup_function_setfunction register_wakeup_functionfunction unregister_wakeup_functionfunction wakeup_print_linefunction wakeup_trace_openfunction __trace_functionfunction wakeup_flag_changedfunction start_func_tracerfunction stop_func_tracerfunction report_latencyfunction probe_wakeup_migrate_taskfunction tracing_sched_switch_tracefunction tracing_sched_wakeup_tracefunction probe_wakeup_sched_switchfunction __wakeup_resetfunction wakeup_resetfunction probe_wakeupfunction start_wakeup_tracerfunction stop_wakeup_tracerfunction __wakeup_tracer_initfunction wakeup_tracer_initfunction wakeup_rt_tracer_initfunction wakeup_dl_tracer_initfunction wakeup_tracer_resetfunction wakeup_tracer_startfunction wakeup_tracer_stopfunction init_wakeup_tracermodule init init_wakeup_tracer
Annotated Snippet
core_initcall(init_wakeup_tracer);
Annotation
- Immediate include surface: `linux/module.h`, `linux/kallsyms.h`, `linux/uaccess.h`, `linux/ftrace.h`, `linux/sched/rt.h`, `linux/sched/deadline.h`, `trace/events/sched.h`, `trace.h`.
- Detected declarations: `function func_prolog_preempt_disable`, `function wakeup_display_graph`, `function wakeup_graph_entry`, `function wakeup_graph_return`, `function wakeup_trace_open`, `function wakeup_trace_close`, `function wakeup_print_line`, `function wakeup_print_header`, `function wakeup_tracer_call`, `function register_wakeup_function`.
- 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.