Function report |
Source Code:kernel\trace\trace_sched_wakeup.c |
Create Date:2022-07-28 12:10:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:start_wakeup_tracer
Proto:static void start_wakeup_tracer(struct trace_array *tr)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct trace_array * | tr |
| 608 | ret = Tracepoint called when the task is actually woken; p->state == TASK_RUNNNG.* It it not always called from the waking context. |
| 609 | If ret Then |
| 610 | pr_info("wakeup trace: Couldn't activate tracepoint probe to kernel_sched_wakeup\n") |
| 612 | Return |
| 616 | If ret Then |
| 617 | pr_info("wakeup trace: Couldn't activate tracepoint probe to kernel_sched_wakeup_new\n") |
| 619 | Go to fail_deprobe |
| 623 | If ret Then |
| 624 | pr_info("sched trace: Couldn't activate tracepoint probe to kernel_sched_switch\n") |
| 626 | Go to fail_deprobe_wake_new |
| 630 | If ret Then |
| 631 | pr_info("wakeup trace: Couldn't activate tracepoint probe to kernel_sched_migrate_task\n") |
| 633 | Go to fail_deprobe_sched_switch |
| 636 | wakeup_reset(tr) |
| 645 | smp_wmb() |
| 650 | Return |
| 653 | fail_deprobe_wake_new : |
| 655 | fail_deprobe : |
| Name | Describe |
|---|---|
| __wakeup_tracer_init |
| 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 |