函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\fgraph.c Create Date:2022-07-27 13:24:44
Last Modify:2020-03-17 20:08:56 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ftrace_graph_probe_sched_switch

函数原型:static void ftrace_graph_probe_sched_switch(void *ignore, bool preempt, struct task_struct *prev, struct task_struct *next)

返回类型:void

参数:

类型参数名称
void *ignore
boolpreempt
struct task_struct *prev
struct task_struct *next
427  如果Both enabled by default (can be cleared by function_graph tracer flags 则返回
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  如果非ftrace_timestamp则返回
442  timestamp减等于ftrace_timestamp
444 index大于等于0循环calltime加等于timestamp