Home
last modified time | relevance | path

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

/tools/testing/selftests/clone3/
Dclone3_set_tid.c155 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/testing/selftests/seccomp/
Dseccomp_bpf.c4445 char proc_path[100] = {0}; in get_proc_stat() local
4449 snprintf(proc_path, sizeof(proc_path), "/proc/%d/stat", pid); in get_proc_stat()
4450 ASSERT_EQ(get_nth(_metadata, proc_path, 3, &line), 1); in get_proc_stat()
4544 char proc_path[100] = {0}; in get_proc_syscall() local
4549 snprintf(proc_path, sizeof(proc_path), "/proc/%d/syscall", pid); in get_proc_syscall()
4550 nread = get_nth(_metadata, proc_path, 1, &line); in get_proc_syscall()
/tools/perf/util/
Dsynthetic-events.c1010 char proc_path[PATH_MAX]; in perf_event__synthesize_threads() local
1022 snprintf(proc_path, sizeof(proc_path), "%s/proc", machine->root_dir); in perf_event__synthesize_threads()
1023 n = scandir(proc_path, &dirent, filter_task, NULL); in perf_event__synthesize_threads()