Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_benchmark.c Create Date:2022-07-28 12:45:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:benchmark_event_kthread

Proto:static int benchmark_event_kthread(void *arg)

Type:int

Parameter:

TypeParameterName
void *arg
150  msleep - sleep safely even with waitqueue interruptions*@msecs: Time in milliseconds to sleep for
152  When Not 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(). cycle
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  Return 0