函数逻辑报告 |
Source Code:kernel\trace\ftrace.c |
Create Date:2022-07-27 13:57:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__register_ftrace_function
函数原型:int __register_ftrace_function(struct ftrace_ops *ops)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ftrace_ops * | ops |
310 | 如果flags按位与FTRACE_OPS_FL_DELETED则返回:负EINVAL |
313 | 如果WARN_ON(flags & FTRACE_OPS_FL_ENABLED)则返回:负EBUSY |
322 | 如果flags按位与FTRACE_OPS_FL_SAVE_REGS且非flags按位与FTRACE_OPS_FL_SAVE_REGS_IF_SUPPORTED的值则返回:负EINVAL |
335 | add_ftrace_ops( & ftrace_ops_list, ops) |
338 | saved_func等于func |
340 | 如果ftrace_pids_enabled(ops)则func等于ftrace_pid_func |
348 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |