Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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
61  ret = Tracepoint for waking up a new task:
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
68  ret = Tracepoint for task switches, performed by the scheduler:
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
76  fail_deprobe_wake_new :
77  Tracepoint for waking up a new task:
78  fail_deprobe :
79  Tracepoint called when the task is actually woken; p->state == TASK_RUNNNG.* It it not always called from the waking context.
80  Return ret
Caller
NameDescribe
tracing_start_sched_switch