summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2009-06-26 23:06:18 +0530
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-06-26 23:06:18 +0530
commit305fdb705e4eca50f3dc18d7cc685b547ce0ee98 (patch)
tree492943020ca7fd7d7756aaab80434571785e8eca /tests
parent3c60aa98093e94985fb3fe43c03bb91a5e6b45c6 (diff)
downloadlibcg-305fdb705e4eca50f3dc18d7cc685b547ce0ee98.tar.gz
libcg-305fdb705e4eca50f3dc18d7cc685b547ce0ee98.tar.xz
libcg-305fdb705e4eca50f3dc18d7cc685b547ce0ee98.zip
libcgroup: Introduce an API to get the mount point of a specific subsystem
Introduce an API which will query the mount table and return the mount point of a specific subsystem. This is needed in the case when the user knows which subsystem he wants the details of, which would make the use of the get_controller* APIs cumbersome. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e8401f2..b10f356 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -2,7 +2,7 @@ INCLUDES = -I$(top_srcdir)/include
LDADD = $(top_srcdir)/src/.libs/libcgroup.la
# compile the tests, but do not install them
-noinst_PROGRAMS = libcgrouptest01 libcg_ba setuid pathtest walk_test read_stats walk_task get_controller
+noinst_PROGRAMS = libcgrouptest01 libcg_ba setuid pathtest walk_test read_stats walk_task get_controller get_mount_point
libcgrouptest01_SOURCES=libcgrouptest01.c test_functions.c libcgrouptest.h
libcg_ba_SOURCES=libcg_ba.cpp
@@ -12,6 +12,7 @@ walk_test_SOURCES=walk_test.c
read_stats_SOURCES=read_stats.c
walk_task_SOURCES=walk_task.c
get_controller_SOURCES=get_controller.c
+get_mount_point_SOURCES=get_mount_point.c
EXTRA_DIST = pathtest.sh runlibcgrouptest.sh