perf namespaces: Move the conditional setns() prototype to namespaces.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 5 Jul 2019 16:59:06 +0000 (13:59 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 9 Jul 2019 13:13:26 +0000 (10:13 -0300)
commit245aec7f7f4ca95b924f005d604bab9d838b5eb1
tree3a1e7b1144592cbe5ee7033cbbc412a29404dabb
parent215a0d305c5651928eb67c96bcedd0a6c297dfce
perf namespaces: Move the conditional setns() prototype to namespaces.h

Out of util.h, to reduce its scope, and since we have a namespaces.h
header, much better to have it there, where it is related to.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-zlu81bbtccuzygh7m8nmgybc@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/namespaces.h
tools/perf/util/setns.c
tools/perf/util/util.h