Function report |
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 activity | Download SCCT | Chinese |
Name:spin_dump
Proto:static void spin_dump(raw_spinlock_t *lock, const char *msg)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
raw_spinlock_t * | lock | |
const char * | msg |
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() |
Name | Describe |
---|---|
spin_bug |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |