Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:57:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:race_filter_add_remove_task - Add or remove a task from a pid_list*@pid_list: The list to modify*@self: The current task for fork or NULL for exit*@task: The task to add or remove* If adding a task, if @self is defined, the task is only added if @self
Proto:void trace_filter_add_remove_task(struct trace_pid_list *pid_list, struct task_struct *self, struct task_struct *task)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct trace_pid_list * | pid_list | |
| struct task_struct * | self | |
| struct task_struct * | task |
| 417 | If Not pid_list Then Return |
| 421 | If self Then |
| 427 | If process id >= pid_max Then Return |
| 431 | If self Then Atomically set a bit in memory |
| Name | Describe |
|---|---|
| event_filter_pid_sched_process_exit | |
| event_filter_pid_sched_process_fork | |
| ftrace_pid_follow_sched_process_fork | |
| ftrace_pid_follow_sched_process_exit |
| 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 |