函数逻辑报告 |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-27 13:41:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:onmatch_parse
函数原型:static struct action_data *onmatch_parse(struct trace_array *tr, char *str)
返回类型:struct action_data
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct trace_array * | tr | |
| char * | str |
| 4426 | match_event等于分割字符串 |
| 4427 | 如果非match_event或非str则 |
| 4428 | hist_err(tr, HIST_ERR_NO_CLOSING_PAREN, errpos(match_event)) |
| 4429 | 转到:free |
| 4432 | match_event_system等于分割字符串 |
| 4433 | 如果非match_event则 |
| 4435 | 转到:free |
| 4438 | 如果是错误则 |
| 4440 | 转到:free |
| 4443 | event等于kstrdup(match_event, GFP_KERNEL) |
| 4444 | 如果非event则 |
| 4450 | 如果非event_system则 |
| 4455 | ret等于action_parse(tr, str, data, HANDLER_ONMATCH) |
| 4458 | out : |
| 4459 | 返回:data |
| 4460 | free : |
| 4461 | onmatch_destroy(data) |
| 4463 | 转到:out |
| 名称 | 描述 |
|---|---|
| parse_actions |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |