函数逻辑报告 |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-27 13:08:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:tracing_mark_raw_write
函数原型:static ssize_t tracing_mark_raw_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *fpos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filp | |
const char __user * | ubuf | |
size_t | cnt | |
loff_t * | fpos |
6567 | 如果非trace_flags按位与TRACE_ITER_MARKERS的值则返回:负EINVAL |
6571 | 如果cnt小于sizeof(unsignedint)或cnt大于Limit it for now to 3K (including tag) 则返回:负EINVAL |
6574 | 如果cnt大于TRACE_BUF_SIZE则cnt等于TRACE_BUF_SIZE |
6579 | local_save_flags(irq_flags) |
6581 | 如果cnt小于FAULT_SIZE_ID则size加等于FAULT_SIZE_ID减cnt |
6591 | entry等于g_buffer_event_data - return the data of the event*@event: the event to get the data from |
6594 | 如果len则 |
6595 | id等于负1 |
6601 | __buffer_unlock_commit(buffer, event) |
6606 | 返回:written |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |