Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:busy_wait

Proto:static void busy_wait(ulong time)

Type:void

Parameter:

TypeParameterName
ulongtime
36  start = 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.
37  Do
38  end = 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.
39  If 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(). Then Break
41  When end - start < time * 1000 cycle
Caller
NameDescribe
irqoff_test
preemptoff_test