Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\fgraph.c Create Date:2022-07-28 12:17:51
Last Modify:2020-03-17 20:08:56 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ftrace_graph_probe_sched_switch

Proto:static void ftrace_graph_probe_sched_switch(void *ignore, bool preempt, struct task_struct *prev, struct task_struct *next)

Type:void

Parameter:

TypeParameterName
void *ignore
boolpreempt
struct task_struct *prev
struct task_struct *next
427  If Both enabled by default (can be cleared by function_graph tracer flags Then Return
430  timestamp = race_clock_local(): the simplest and least coherent tracing clock.* Useful for tracing that does not cross to other CPUs nor* does it go through idle events.
432  ftrace_timestamp = timestamp
435  If Not ftrace_timestamp Then Return
442  timestamp -= ftrace_timestamp
444  When index >= 0 cycle calltime += timestamp