Searched refs:proc_path (Results 1 – 2 of 2) sorted by relevance
/tools/testing/selftests/clone3/ |
D | clone3_set_tid.c | 155 char proc_path[100] = {0}; in main() local 342 snprintf(proc_path, sizeof(proc_path), "/proc/%d/status", pid); in main() 343 f = fopen(proc_path, "r"); in main() 347 strerror(errno), proc_path); in main()
|
/tools/perf/util/ |
D | synthetic-events.c | 905 char proc_path[PATH_MAX]; in perf_event__synthesize_threads() local 917 snprintf(proc_path, sizeof(proc_path), "%s/proc", machine->root_dir); in perf_event__synthesize_threads() 918 n = scandir(proc_path, &dirent, 0, alphasort); in perf_event__synthesize_threads()
|