函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_sched_wakeup.c Create Date:2022-07-27 13:16:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:tracing_sched_wakeup_trace

函数原型:static void tracing_sched_wakeup_trace(struct trace_array *tr, struct task_struct *wakee, struct task_struct *curr, unsigned long flags, int pc)

返回类型:void

参数:

类型参数名称
struct trace_array *tr
struct task_struct *wakee
struct task_struct *curr
unsigned longflags
intpc
408  call等于event_wakeup
411  buffer等于buffer
413  event等于trace_buffer_lock_reserve(buffer, TRACE_WAKE, entry的长度, flags, pc)
415  如果非event则返回
417  entry等于g_buffer_event_data - return the data of the event*@event: the event to get the data from
418  prev_pid等于进程ID
419  prev_prio等于prio
420  prev_state等于task_state_index(curr)
421  next_pid等于进程ID
422  next_prio等于prio
423  next_state等于task_state_index(wakee)
424  next_cpu等于task_cpu(wakee)
426  如果非call_filter_check_discard(call, entry, buffer, event)则trace_buffer_unlock_commit(tr, buffer, event, flags, pc)
调用者
名称描述
probe_wakeup