Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:33:42 |
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_in
Proto:static void ctx_sched_in(struct perf_event_context *ctx, struct perf_cpu_context *cpuctx, enum event_type_t event_type, struct task_struct *task)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event_context * | ctx | |
struct perf_cpu_context * | cpuctx | |
enum event_type_t | event_type | |
struct task_struct * | task |
3515 | lockdep_assert_held( & Protect the states of the events in the list,* nr_active, and the list:) |
3517 | If Value is more likely to compile time(!nr_events) Then Return |
3520 | is_active |= event_type | EVENT_TIME |
3521 | If task Then |
3530 | If is_active & EVENT_TIME Then |
3541 | If is_active & EVENT_PINNED Then ctx_pinned_sched_in(ctx, cpuctx) |
3545 | If is_active & EVENT_FLEXIBLE Then ctx_flexible_sched_in(ctx, cpuctx) |
Name | Describe |
---|---|
perf_event_sched_in | |
__perf_event_enable | Cross CPU call to enable a performance event |
cpu_ctx_sched_in | |
perf_event_enable_on_exec | Enable all of a task's events that have been marked enable-on-exec.* This expects task == current. |
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 |