Function report | 
Source Code:kernel\trace\trace_events.c | 
Create Date:2022-07-28 12:19:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:subsystem_open
Proto:static int subsystem_open(struct inode *inode, struct file *filp)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| struct file * | filp | 
| 1419 | struct event_subsystem * system = NULL | 
| 1420 | struct trace_subsystem_dir * dir = NULL | 
| 1424 | If tracing_is_disabled() Then Return -ENODEV | 
| 1428 | mutex_lock( & event_mutex) | 
| 1432 | If dir == s or device private pointer Then | 
| 1442 | exit_loop : | 
| 1453 | If trace_array_get(tr) < 0 Then | 
| 1454 | put_system(dir) | 
| 1455 | Return -ENODEV | 
| 1458 | ret = tracing_open_generic(inode, filp) | 
| 1459 | If ret < 0 Then | 
| 1461 | put_system(dir) | 
| 1464 | 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  |