Function report |
Source Code:kernel\trace\trace_sched_wakeup.c |
Create Date:2022-07-28 12:10:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tracing_sched_wakeup_trace
Proto:static void tracing_sched_wakeup_trace(struct trace_array *tr, struct task_struct *wakee, struct task_struct *curr, unsigned long flags, int pc)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_array * | tr | |
struct task_struct * | wakee | |
struct task_struct * | curr | |
unsigned long | flags | |
int | pc |
408 | call = event_wakeup |
413 | event = trace_buffer_lock_reserve(buffer, TRACE_WAKE, size of entry , flags, pc) |
415 | If Not event Then Return |
417 | entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from |
418 | prev_pid = process id |
420 | prev_state = task_state_index(curr) |
421 | next_pid = process id |
423 | next_state = task_state_index(wakee) |
426 | If Not call_filter_check_discard(call, entry, buffer, event) Then trace_buffer_unlock_commit(tr, buffer, event, flags, pc) |
Name | Describe |
---|---|
probe_wakeup |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |