Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:44 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Cross CPU call to disable a performance event
Proto:static void __perf_event_disable(struct perf_event *event, struct perf_cpu_context *cpuctx, struct perf_event_context *ctx, void *info)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | event | |
struct perf_cpu_context * | cpuctx | |
struct perf_event_context * | ctx | |
void * | info |
2237 | If state < PERF_EVENT_STATE_INACTIVE Then Return |
2240 | If is_active & EVENT_TIME Then |
2241 | update_context_time(ctx) |
2245 | If event == group_leader Then group_sched_out(event, cpuctx, ctx) |
2247 | Else event_sched_out(event, cpuctx, ctx) |
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 |