Commit e29c98d1 authored by Gautham R Shenoy's avatar Gautham R Shenoy Committed by Ingo Molnar

sched: update the sched-domains debug documentation

SCHED_DOMAIN_DEBUG mentioned in the Documentation for sched-domains
for enabling sched-domains debugging doesn't exist anymore.

Update the documentation to reflect the correct way of enabling
sched-domain debugging.
Signed-off-by: default avatarGautham R Shenoy <ego@in.ibm.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 6d6bc0ad
...@@ -61,10 +61,7 @@ builder by #define'ing ARCH_HASH_SCHED_DOMAIN, and exporting your ...@@ -61,10 +61,7 @@ builder by #define'ing ARCH_HASH_SCHED_DOMAIN, and exporting your
arch_init_sched_domains function. This function will attach domains to all arch_init_sched_domains function. This function will attach domains to all
CPUs using cpu_attach_domain. CPUs using cpu_attach_domain.
Implementors should change the line The sched-domains debugging infrastructure can be enabled by enabling
#undef SCHED_DOMAIN_DEBUG CONFIG_SCHED_DEBUG. This enables an error checking parse of the sched domains
to
#define SCHED_DOMAIN_DEBUG
in kernel/sched.c as this enables an error checking parse of the sched domains
which should catch most possible errors (described above). It also prints out which should catch most possible errors (described above). It also prints out
the domain structure in a visual format. the domain structure in a visual format.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment