Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/perf/util/
A Dnamespaces.c66 char *statln = NULL; in nsinfo__get_nspid() local
74 while (getline(&statln, &linesz, f) != -1) { in nsinfo__get_nspid()
76 if (strstr(statln, "Tgid:") != NULL) { in nsinfo__get_nspid()
77 nsi->tgid = (pid_t)strtol(strrchr(statln, '\t'), in nsinfo__get_nspid()
82 if (strstr(statln, "NStgid:") != NULL) { in nsinfo__get_nspid()
83 nspid = strrchr(statln, '\t'); in nsinfo__get_nspid()
89 nsi->in_pidns = (statln + sizeof("NStgid:") - 1) != nspid; in nsinfo__get_nspid()
95 free(statln); in nsinfo__get_nspid()

Completed in 3 milliseconds