Lines Matching refs:job
52 // Counts and optionally prints all job/process descendants of a job.
56 // If |prefix| is non-null, also prints each job/process.
69 bool OnJob(JobDispatcher* job) final {
72 job->get_name(name);
73 printf("%sjob %6" PRIu64 " '%s'\n", prefix_, job->get_koid(), name);
81 // It's a race, but will stop us from re-killing a job that only has
120 printf("OOM: Finding a job to kill...\n");
127 JobDispatcher::ForEachJob([&](JobDispatcher* job) {
132 // We want to kill a job that will actually free memory by dying, so
136 job->EnumerateChildren(&job_counter, /*recurse=*/true);
149 job->get_name(name);
150 printf("OOM: %s job %6" PRIu64 " '%s'\n", tag, job->get_koid(), name);
152 // Print the descendants of the job we're about to kill.
154 job->EnumerateChildren(&job_printer, /*recurse=*/true);
163 job->Kill();