Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c4345 char proc_path[100] = {0}; in get_proc_stat() local
4349 snprintf(proc_path, sizeof(proc_path), "/proc/%d/stat", pid); in get_proc_stat()
4350 ASSERT_EQ(get_nth(_metadata, proc_path, 3, &line), 1); in get_proc_stat()
4444 char proc_path[100] = {0}; in get_proc_syscall() local
4449 snprintf(proc_path, sizeof(proc_path), "/proc/%d/syscall", pid); in get_proc_syscall()
4450 nread = get_nth(_metadata, proc_path, 1, &line); in get_proc_syscall()
/linux-6.1.9/tools/perf/util/
Dsynthetic-events.c1008 char proc_path[PATH_MAX]; in perf_event__synthesize_threads() local
1020 snprintf(proc_path, sizeof(proc_path), "%s/proc", machine->root_dir); in perf_event__synthesize_threads()
1021 n = scandir(proc_path, &dirent, filter_task, NULL); in perf_event__synthesize_threads()