Function report |
Source Code:kernel\trace\trace_sched_wakeup.c |
Create Date:2022-07-28 12:10:03 |
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_switch_trace
Proto:static void tracing_sched_switch_trace(struct trace_array *tr, struct task_struct *prev, struct task_struct *next, unsigned long flags, int pc)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_array * | tr | |
struct task_struct * | prev | |
struct task_struct * | next | |
unsigned long | flags | |
int | pc |
380 | call = event_context_switch |
387 | If Not event Then Return |
389 | entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from |
390 | prev_pid = process id |
392 | prev_state = task_state_index(prev) |
393 | next_pid = process id |
395 | next_state = task_state_index(next) |
398 | If Not call_filter_check_discard(call, entry, buffer, event) Then trace_buffer_unlock_commit(tr, buffer, event, flags, pc) |
Name | Describe |
---|---|
probe_wakeup_sched_switch |
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 |