Searched refs:nstgid (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/perf/util/ |
D | namespaces.c | 63 static int nsinfo__get_nspid(pid_t *tgid, pid_t *nstgid, bool *in_pidns, const char *path) in nsinfo__get_nspid() argument 78 *nstgid = *tgid; in nsinfo__get_nspid() 83 *nstgid = (pid_t)strtol(nspid, NULL, 10); in nsinfo__get_nspid() 134 rv = nsinfo__get_nspid(&RC_CHK_ACCESS(nsi)->tgid, &RC_CHK_ACCESS(nsi)->nstgid, in nsinfo__init() 167 RC_CHK_ACCESS(nsi)->nstgid = pid; in nsinfo__new() 198 RC_CHK_ACCESS(nnsi)->nstgid = nsinfo__nstgid(nsi); in nsinfo__copy() 261 return RC_CHK_ACCESS(nsi)->nstgid; in nsinfo__nstgid() 371 pid_t tgid = 0, nstgid = 0; in nsinfo__is_in_root_namespace() local 374 nsinfo__get_nspid(&tgid, &nstgid, &in_pidns, "/proc/self/status"); in nsinfo__is_in_root_namespace()
|
D | namespaces.h | 36 pid_t nstgid; in DECLARE_RC_STRUCT() local
|