Function report |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-28 12:20:01 |
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_pid_write
Proto:static ssize_t ftrace_event_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 |
1607 | struct trace_pid_list * filtered_pids = NULL |
1612 | If Not cnt Then Return 0 |
1615 | 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 |
1619 | mutex_lock( & event_mutex) |
1624 | ret = trace_pid_write(filtered_pids, & pid_list, ubuf, cnt) |
1634 | If filtered_pids Then |
1637 | Else if pid_list Then |
1670 | on_each_cpu(ignore_task_cpu, tr, 1) |
1672 | out : |
1678 | 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 |