tools build: Add test for setns()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Jul 2017 20:15:29 +0000 (17:15 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:14:08 +0000 (23:14 -0300)
commit86bcdb5a43997bb02ba25a76482c7bfc652ba45b
tree60737d10e15be7e8dbff4d7da4ba1f80f72ea5e0
parent59291f19824200b5a9046b79d37f02fb415335b0
tools build: Add test for setns()

And provide an alternative implementation to keep perf building on older
distros as we're about to add initial support for namespaces.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Krister Johansen <kjlx@templeofstupid.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-bqdwijunhjlvps1ardykhw1i@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/build/Makefile.feature
tools/build/feature/Makefile
tools/build/feature/test-all.c
tools/build/feature/test-setns.c [new file with mode: 0644]
tools/perf/Makefile.config
tools/perf/util/Build
tools/perf/util/setns.c [new file with mode: 0644]
tools/perf/util/util.h