Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex-debug.c Create Date:2022-07-28 09:52:47
Last Modify:2020-03-17 14:29:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:printk_lock

Proto:static void printk_lock(struct rt_mutex *lock, int print_owner)

Type:void

Parameter:

TypeParameterName
struct rt_mutex *lock
intprint_owner
45  If name Then printk(" [%p] {%s}\n", lock, name)
48  Else printk(" [%p] {%s:%d}\n", lock, file, line)
52  If print_owner && rt_mutex_owner(lock) Then
53  printk(".. ->owner: %p\n", owner)
54  printk(".. held by: ")
55  printk_task(rt_mutex_owner(lock))
56  printk("\n")
Caller
NameDescribe
debug_rt_mutex_print_deadlock