Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:37:32 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:perf_event_task
Proto:static void perf_event_task(struct task_struct *task, struct perf_event_context *task_ctx, int new)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task | |
struct perf_event_context * | task_ctx | |
int | new |
7314 | If Not atomic_read( & nr_comm_events) && Not atomic_read( & nr_mmap_events) && Not atomic_read( & nr_task_events) Then Return |
7319 | task_event = (struct perf_task_event){task = task, task_ctx = task_ctx, event_id = {header = {type = new ? PERF_RECORD_FORK : PERF_RECORD_EXIT, misc = 0, size = size of event_id , }, }, } |
Name | Describe |
---|---|
perf_event_fork | |
perf_event_exit_task_context | |
perf_event_exit_task | When a child task exits, feed back event values to parent events.* Can be called with cred_guard_mutex held when called from* install_exec_creds(). |
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 |