函数逻辑报告 |
Source Code:kernel\locking\spinlock_debug.c |
Create Date:2022-07-27 10:53:24 |
Last Modify:2020-03-17 14:41:09 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:spin_dump
函数原型:static void spin_dump(raw_spinlock_t *lock, const char *msg)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
raw_spinlock_t * | lock | |
const char * | msg |
56 | 如果owner恒等于SPINLOCK_OWNER_INIT则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(当前进程)) |
61 | printk(system is unusable " lock: %pS, .magic: %08x, .owner: %s/%d, .owner_cpu: %d\n", lock, READ_ONCE(magic), owner ? 是否使用FPU : "<none>", owner ? task_pid_nr(owner) : - 1, READ_ONCE(owner_cpu)) |
67 | dump_stack() |
名称 | 描述 |
---|---|
spin_bug |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |