Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\main.c Create Date:2022-07-28 13:53:40
Last Modify:2022-05-23 13:07:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_initcall_finish_cb

Proto:static __init_or_module void trace_initcall_finish_cb(void *data, initcall_t fn, int ret)

Type:void

Parameter:

TypeParameterName
void *data
initcall_tfn
intret
888  calltime = data
892  rettime = ktime_get()
893  delta = Subtract two ktime_t variables. rem = lhs -rhs: (rettime, * calltime)
894  duration = Convert ktime_t to nanoseconds >> 10
895  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
Caller
NameDescribe
do_trace_initcall_finish