xref: /openbmc/linux/tools/perf/util/setns.c (revision e3d786a3)
1 #include "util.h"
2 #include <unistd.h>
3 #include <sys/syscall.h>
4 
5 int setns(int fd, int nstype)
6 {
7 	return syscall(__NR_setns, fd, nstype);
8 }
9