Function report |
Source Code:kernel\gcov\fs.c |
Create Date:2022-07-28 11:31:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pen() implementation for gcov data files. Create a copy of the profiling* data set and initialize the iterator and seq_file interface.
Proto:static int gcov_seq_open(struct inode *inode, struct file *file)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode | |
| struct file * | file |
| 186 | mutex_lock( & node_lock) |
| 192 | info = Return a newly allocated profiling data set which contains the sum of* all profiling data associated with the given node. |
| 193 | If Not info Then Go to out_unlock |
| 195 | iter = gcov_iter_new(info) |
| 196 | If Not iter Then Go to err_free_info |
| 198 | rc = seq_open(file, & gcov_seq_ops) |
| 199 | If rc Then Go to err_free_iter_info |
| 203 | out_unlock : |
| 205 | Return rc |
| 207 | err_free_iter_info : |
| 208 | gcov_iter_free(iter) |
| 209 | err_free_info : |
| 210 | gcov_info_free(info) |
| 211 | Go to out_unlock |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |