Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
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, 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
419  prev_prio = prio
420  prev_state = task_state_index(curr)
421  next_pid = process id
422  next_prio = prio
423  next_state = task_state_index(wakee)
424  next_cpu = task_cpu(wakee)
426  If Not call_filter_check_discard(call, entry, buffer, event) Then trace_buffer_unlock_commit(tr, buffer, event, flags, pc)
Caller
NameDescribe
probe_wakeup