Function report |
Source Code:kernel\trace\trace_sched_switch.c |
Create Date:2022-07-28 12:08:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tracing_sched_register
Proto:static int tracing_sched_register(void)
Type:int
Parameter:Nothing
| 54 | ret = Tracepoint called when the task is actually woken; p->state == TASK_RUNNNG.* It it not always called from the waking context. |
| 55 | If ret Then |
| 56 | pr_info("wakeup trace: Couldn't activate tracepoint probe to kernel_sched_wakeup\n") |
| 58 | Return ret |
| 62 | If ret Then |
| 63 | pr_info("wakeup trace: Couldn't activate tracepoint probe to kernel_sched_wakeup_new\n") |
| 65 | Go to fail_deprobe |
| 69 | If ret Then |
| 70 | pr_info("sched trace: Couldn't activate tracepoint probe to kernel_sched_switch\n") |
| 72 | Go to fail_deprobe_wake_new |
| 75 | Return ret |
| 78 | fail_deprobe : |
| 80 | Return ret |
| Name | Describe |
|---|---|
| tracing_start_sched_switch |
| 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 |