Hi,

I wanted to have all the special configuration parameters needed in the
kernel .config file for enabling some features, for which test cases are
there in LTP, but those tests will not run until the running kernel was
enabled. I wanted the consolidated list in the ltp/README itself. I have
generated a small patch for this.

I would request others also to add to this when they find out such
scenarios in LTP. Please feel free to add. We do not want situations
where test cases are available in LTP, but they cannot be tested just
because that the kernel was not built with configuration(s) set.

Signed-Off-By: Subrata Modak <[EMAIL PROTECTED]>
--


--- ltp-full-20081023/README.orig       2008-10-24 11:41:08.000000000 +0530
+++ ltp-full-20081023/README    2008-10-24 11:49:56.000000000 +0530
@@ -110,3 +110,62 @@ Using NUMA test automation suite
 For more information on how to use the 'numa' test automation suite
please refer
 to file testcases/kernel/numa/README.
 
+---------------------------------
+Enable CODE COVERAGE for your Kernel:
+---------------------------------
+1) Apply kernel-gcov patch(s) against the corresponding Kernel. They
are available here:
+http://ltp.cvs.sourceforge.net/viewvc/ltp/utils/analysis/gcov-kernel/linux-2.*.*-gcov.patch?view=log,
+2) Also enable the following options in your .config file before
building the kernel
+CONFIG_GCOV_PROFILE=y
+CONFIG_GCOV_ALL=y
+CONFIG_GCOV_PROC=m
+CONFIG_GCOV_HAMMER=y
+
+---------------------------------
+Enabling Kernel Configuration to test Containers/Namespaces
+---------------------------------
+CONFIG_NAMESPACES=y
+CONFIG_UTS_NS=y
+CONFIG_IPC_NS=y
+CONFIG_USER_NS=y
+CONFIG_PID_NS=y
+CONFIG_NET_NS=y
+CONFIG_VETH=y
+CONFIG_MACVLAN=y
+
+
+---------------------------------
+Enabling Kernel Configuration to test Controllers
+---------------------------------
+CONFIG_CGROUPS=y
+CONFIG_CGROUP_DEBUG=y
+CONFIG_CGROUP_NS=y
+CONFIG_CPUSETS=y
+CONFIG_GROUP_SCHED=y
+CONFIG_FAIR_GROUP_SCHED=y
+CONFIG_RT_GROUP_SCHED=y
+CONFIG_CGROUP_SCHED=y
+
+---------------------------------
+Enabling Kernel Configuration to test Power Management features
+---------------------------------
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_TABLE=y
+CONFIG_CPU_FREQ_DEBUG=y
+CONFIG_CPU_FREQ_STAT=y
+CONFIG_CPU_FREQ_STAT_DETAILS=y
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
+CONFIG_SCHED_MC=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+---------------------------------


Regards--
Subrata


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to