函数逻辑报告 |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-27 13:26:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:event_enable_write
函数原型:static ssize_t event_enable_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filp | |
const char __user * | ubuf | |
size_t | cnt | |
loff_t * | ppos |
1090 | ret等于kstrtoul_from_user(ubuf, cnt, 10, & val) |
1094 | ret等于racing_update_buffers - used by tracing facility to expand ring buffers* To save on memory when the tracing is never used on a system with it* configured in |
1102 | mutex_lock( & event_mutex) |
1103 | file等于event_file_data(filp) |
1104 | 如果此条件成立可能性大(为编译器优化)(file)则ret等于ftrace_event_enable_disable(file, val) |
1107 | 退出 |
1109 | 默认 |
1110 | 返回:负EINVAL |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |