Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\spinlock_debug.c Create Date:2022-07-28 09:53:09
Last Modify:2020-03-17 14:41:09 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:spin_dump

Proto:static void spin_dump(raw_spinlock_t *lock, const char *msg)

Type:void

Parameter:

TypeParameterName
raw_spinlock_t *lock
const char *msg
54  owner = READ_ONCE(owner)
56  If owner == SPINLOCK_OWNER_INIT Then owner = NULL
58  printk(system is unusable "BUG: spinlock %s on CPU#%d, %s/%d\n", msg, These macros fold the SMP functionality into a single CPU system(), comm, task_pid_nr(current process))
61  printk(system is unusable " lock: %pS, .magic: %08x, .owner: %s/%d, .owner_cpu: %d\n", lock, READ_ONCE(magic), owner ? * executable name, excluding path. * - normally initialized setup_new_exec() * - access it with [gs]et_task_comm() * - lock it with task_lock() : "<none>", owner ? task_pid_nr(owner) : - 1, READ_ONCE(owner_cpu))
67  dump_stack()
Caller
NameDescribe
spin_bug