函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:u64 notrace trace_clock_local(void)

返回类型:u64

参数:

41  preempt_disable_notrace()
42  clock等于sched_clock()
43  preempt_enable_notrace()
45  返回:clock
调用者
名称描述
buffer_ftrace_now
busy_wait
__trace_graph_function
ftrace_push_return_traceAdd a function return address to the trace stack on thread info.
ftrace_return_to_handler the original return address.
ftrace_graph_probe_sched_switch
trace_do_benchmarkThis gets called in a loop recording the time it took to write* the tracepoint