函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:benchmark_event_kthread

函数原型:static int benchmark_event_kthread(void *arg)

返回类型:int

参数:

类型参数名称
void *arg
150  msleep - sleep safely even with waitqueue interruptions*@msecs: Time in milliseconds to sleep for
152  当非kthread_should_stop - should this kthread return now?* When someone calls kthread_stop() on your kthread, it will be woken* and this will return true. You should then return, and your return* value will be passed through to kthread_stop().循环
154  This gets called in a loop recording the time it took to write* the tracepoint
168  cond_resched_tasks_rcu_qs - Report potential quiescent states to RCU* This macro resembles cond_resched(), except that it is defined to* report potential quiescent states to RCU-tasks even if the cond_resched()()
171  返回:0