Function report | 
Source Code:kernel\trace\trace_events.c | 
Create Date:2022-07-28 12:20:12 | 
| 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_set_pid_open
Proto:static int ftrace_event_set_pid_open(struct inode *inode, struct file *file)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| struct file * | file | 
| 1849 | seq_ops = show_set_pid_seq_ops | 
| 1850 | tr = s or device private pointer | 
| 1853 | ret = tracing_check_open_get_tr(tr) | 
| 1857 | If f_mode & le is open for writing && f_flags & O_TRUNC Then ftrace_clear_event_pids(tr) | 
| 1861 | ret = ftrace_event_open(inode, file, seq_ops) | 
| 1864 | 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  |