Home
last modified time | relevance | path

Searched refs:newns (Results 1 – 2 of 2) sorted by relevance

/tools/perf/util/
Dnamespaces.c67 char *newns = NULL; in nsinfo__init() local
79 if (asprintf(&newns, "/proc/%d/ns/mnt", nsi->pid) == -1) in nsinfo__init()
85 if (stat(newns, &new_stat) < 0) in nsinfo__init()
93 nsi->mntns_path = newns; in nsinfo__init()
94 newns = NULL; in nsinfo__init()
131 free(newns); in nsinfo__init()
213 int newns = -1; in nsinfo__mountns_enter() local
220 nc->newns = -1; in nsinfo__mountns_enter()
236 newns = open(nsi->mntns_path, O_RDONLY); in nsinfo__mountns_enter()
237 if (newns < 0) in nsinfo__mountns_enter()
[all …]
Dnamespaces.h44 int newns; member