Home
last modified time | relevance | path

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

/external/bcc/src/cc/
Dbcc_proc.c414 char procfilename[24], line[4096], pathname[32], *str; in bcc_procutils_language() local
419 snprintf(procfilename, sizeof(procfilename), "/proc/%ld/exe", (long)pid); in bcc_procutils_language()
420 if (realpath(procfilename, line)) { in bcc_procutils_language()
427 snprintf(procfilename, sizeof(procfilename), "/proc/%ld/maps", (long)pid); in bcc_procutils_language()
428 procfile = fopen(procfilename, "r"); in bcc_procutils_language()
/external/autotest/client/tests/cyclictest/src/
Dcyclictest.c102 char procfilename[128]; in kernvar() local
104 strncpy(procfilename, procfileprefix, sizeof(procfilename)); in kernvar()
105 strncat(procfilename, name, in kernvar()
106 sizeof(procfilename) - sizeof(procfileprefix)); in kernvar()
107 procfilepath = open(procfilename, mode); in kernvar()