Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\debug.c Create Date:2022-07-28 09:44:06
Last Modify:2020-03-17 13:39:02 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sched_debug_header

Proto:static void sched_debug_header(struct seq_file *m)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
690  local_irq_save(flags)
691  ktime = Convert ktime_t to nanoseconds
692  sched_clk = Scheduler clock - returns current time in nanosec units.* This is default implementation.* Architectures and sub-architectures can override this.
693  cpu_clk = local_clock()
694  local_irq_restore(flags)
696  This allows printing both to /proc/sched_debug and* to the console(m, "Sched Debug Version: v0.11, %s %.*s\n", release, (int)strcspn - Calculate the length of the initial substring of @s which does not contain letters in @reject*@s: The string to be searched*@reject: The string to avoid, version)
705  PN(ktime)
706  PN(sched_clk)
707  PN(cpu_clk)
708  P(jiffies)
715  This allows printing both to /proc/sched_debug and* to the console(m, "\n")
716  This allows printing both to /proc/sched_debug and* to the console(m, "sysctl_sched\n")
722  PN(Targeted preemption latency for CPU-bound tasks:* NOTE: this latency value is not the same as the concept of* 'timeslice length' - timeslices in CFS are of variable length* and have no persistent notion like in traditional, time-slice)
723  PN(Minimal preemption granularity for CPU-bound tasks:* (default: 0.75 msec * (1 + ilog(ncpus)), units: nanoseconds))
724  PN(SCHED_OTHER wake-up granularity)
725  P(After fork, child runs first. If set to 0 (default) then* parent will (try to) run first.)
726  P(sysctl_sched_features)
730  This allows printing both to /proc/sched_debug and* to the console(m, " .%-40s: %d (%s)\n", "sysctl_sched_tunable_scaling", The initial- and re-scaling of tunables is configurable* Options are:* SCHED_TUNABLESCALING_NONE - unscaled, always *1* SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus)* SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus* (default , sched_tunable_scaling_names[The initial- and re-scaling of tunables is configurable* Options are:* SCHED_TUNABLESCALING_NONE - unscaled, always *1* SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus)* SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus* (default ])
734  This allows printing both to /proc/sched_debug and* to the console(m, "\n")
Caller
NameDescribe
sched_debug_show
sysrq_sched_debug_show