Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:54 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:add_event_to_ctx
Proto:static void add_event_to_ctx(struct perf_event *event, struct perf_event_context *ctx)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
struct perf_event_context * | ctx |
2493 | Add an event from the lists for its context.* Must be called with ctx->mutex and ctx->lock held. |
2494 | perf_group_attach(event) |
Name | Describe |
---|---|
__perf_install_in_context | Cross CPU call to install and enable a performance event* Very similar to remote_function() + event_function() but cannot assume that* things like ctx->is_active and cpuctx->task_ctx are set. |
perf_install_in_context | Attach a performance event to a context.* Very similar to event_function_call, see comment there. |
inherit_event | Inherit an event from parent task to child task.* Returns:* - valid pointer on success* - NULL for orphaned events* - IS_ERR() on error |
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 |