Function report |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-28 12:19:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ftrace_event_write
Proto:static ssize_t ftrace_event_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
const char __user * | ubuf | |
size_t | cnt | |
loff_t * | ppos |
892 | If Not cnt Then Return 0 |
895 | ret = racing_update_buffers - used by tracing facility to expand ring buffers* To save on memory when the tracing is never used on a system with it* configured in |
899 | If race_parser_get_init - gets the buffer for trace parser Then Return -ENOMEM |
904 | If read >= 0 && trace_parser_loaded(( & parser)) Then |
905 | set = 1 |
917 | out_put : |
920 | Return ret |
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 |