Function report |
Source Code:kernel\trace\ftrace.c |
Create Date:2022-07-28 12:46:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ftrace_pid_write
Proto:static ssize_t ftrace_pid_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | filp | |
| const char __user * | ubuf | |
| size_t | cnt | |
| loff_t * | ppos |
| 7121 | struct trace_pid_list * filtered_pids = NULL |
| 7125 | If Not cnt Then Return 0 |
| 7128 | mutex_lock( & ftrace_lock) |
| 7133 | ret = trace_pid_write(filtered_pids, & pid_list, ubuf, cnt) |
| 7139 | If filtered_pids Then |
| 7142 | Else if pid_list Then |
| 7152 | on_each_cpu(ignore_task_cpu, tr, 1) |
| 7154 | ftrace_update_pid_func() |
| 7155 | ftrace_startup_all(0) |
| 7156 | out : |
| 7162 | 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 |