Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:32:52 |
Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_sched_in
Proto:static int group_sched_in(struct perf_event *group_event, struct perf_cpu_context *cpuctx, struct perf_event_context *ctx)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct perf_event * | group_event | |
struct perf_cpu_context * | cpuctx | |
struct perf_event_context * | ctx |
2411 | struct perf_event * event, * partial_group = NULL |
2414 | If state == PERF_EVENT_STATE_OFF Then Return 0 |
2419 | If event_sched_in(group_event, cpuctx, ctx) Then |
2420 | cancel_txn(pmu) |
2422 | Return -EAGAIN |
2429 | If event_sched_in(event, cpuctx, ctx) Then |
2430 | partial_group = event |
2431 | Go to group_error |
2435 | If Not commit_txn(pmu) Then Return 0 |
2438 | group_error : |
2445 | If event == partial_group Then Break |
2448 | event_sched_out(event, cpuctx, ctx) |
2450 | event_sched_out(group_event, cpuctx, ctx) |
2452 | cancel_txn(pmu) |
2456 | Return -EAGAIN |
Name | Describe |
---|---|
pinned_sched_in | |
flexible_sched_in |
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 |