Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
ltp
/
95e8b61433efcefb83699aaf859e92ad2b576373
/
m4
/
ltp-cgroupstats.m4
38c8109
cgroups: conditionally enable building cgroup tests: controllers tests gets included into default ltp build if "/proc/cgroup" exists. It stops the ltp build in realtime kernel environment where kernel is new and supports cgroups, but necessary file "linux/cgroupstats.h" may not exist in the base OS (like RHEL5.3). So configure command enables the build, but actual build fails, due to missing header file. Below patch proposes new symbol LTP_CHECK_CGROUPSTATS to check for header file "linux/cgroupstats.h" and include controllers in the list of tests to build. Tested the patch in non-RT as well as RT environment for the changes. Signed-off-by: Gowrishankar <gowrishankar.m@in.ibm.com>.
by subrata_modak
ยท 15 years ago