Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:33:20 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ctx_sched_out
Proto:static void ctx_sched_out(struct perf_event_context *ctx, struct perf_cpu_context *cpuctx, enum event_type_t event_type)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event_context * | ctx | |
struct perf_cpu_context * | cpuctx | |
enum event_type_t | event_type |
3037 | lockdep_assert_held( & Protect the states of the events in the list,* nr_active, and the list:) |
3039 | If Value is more likely to compile time(!nr_events) Then |
3049 | is_active &= ~event_type |
3053 | If task Then |
3054 | WARN_ON_ONCE(task_ctx != ctx) |
3069 | If is_active & EVENT_TIME Then |
3071 | update_context_time(ctx) |
3086 | perf_pmu_disable(pmu) |
3087 | If is_active & EVENT_PINNED Then |
3089 | group_sched_out(event, cpuctx, ctx) |
3092 | If is_active & EVENT_FLEXIBLE Then |
3094 | group_sched_out(event, cpuctx, ctx) |
3096 | perf_pmu_enable(pmu) |
Name | Describe |
---|---|
task_ctx_sched_out | |
__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_event_enable | Cross CPU call to enable a performance event |
cpu_ctx_sched_out | |
perf_rotate_context | |
perf_event_enable_on_exec | Enable all of a task's events that have been marked enable-on-exec.* This expects task == current. |
__perf_event_exit_context |
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 |