Searched refs:procfs_path (Results 1 – 1 of 1) sorted by relevance
89 char procfs_path[100]; in kthread_pid_ticks() local96 sprintf(procfs_path, "/proc/%u/stat", args.kthread_pid); in kthread_pid_ticks()97 f = fopen(procfs_path, "r"); in kthread_pid_ticks()99 fprintf(stderr, "couldn't open %s, exiting\n", procfs_path); in kthread_pid_ticks()103 fprintf(stderr, "fscanf of %s failed, exiting\n", procfs_path); in kthread_pid_ticks()