函数逻辑报告 |
Source Code:kernel\trace\trace_mmiotrace.c |
Create Date:2022-07-27 13:18:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mmio_read
函数原型:static ssize_t mmio_read(struct trace_iterator *iter, struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct trace_iterator * | iter | |
struct file * | filp | |
char __user * | ubuf | |
size_t | cnt | |
loff_t * | ppos |
141 | n等于count_overruns(iter) |
142 | 如果n则 |
145 | 如果非overrun_detected则打印警告信息("mmiotrace has lost events\n") |
147 | overrun_detected = true |
148 | 转到:print_out |
151 | 如果非hiter则返回:0 |
154 | mmio_print_pcidev(s, dev) |
155 | dev等于pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev) |
157 | 如果非dev则 |
158 | destroy_header_iter(hiter) |
159 | private = NULL |
162 | print_out : |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |