Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 12:01:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tracing_total_entries_read
Proto:static ssize_t tracing_total_entries_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
char __user * | ubuf | |
size_t | cnt | |
loff_t * | ppos |
6421 | size = 0 , expanded_size = 0 |
6424 | for_each_tracing_cpu(cpu) |
6429 | If On boot up, the ring buffer is set to the minimum size, so that* we do not waste memory on systems that are not using tracing. Then r = sprintf(buf, "%lu\n", size) |
6431 | Else r = sprintf(buf, "%lu (expanded: %lu)\n", size, expanded_size) |
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 |