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