Function report |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-28 12:19:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:system_enable_read
Proto:static ssize_t system_enable_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 |
1122 | const char set_to_char[4] = {'?', '0', '1', 'X'} |
1129 | set = 0 |
1132 | mutex_lock( & event_mutex) |
1134 | call = event_call |
1135 | If Not trace_event_name(call) || Not class || Not reg Then Continue |
1151 | If set == 3 Then Break |
1156 | buf[0] = set_to_char[set] |
1157 | buf[1] = '\n' |
1161 | 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 |