Lines Matching defs:done
186 static volatile int done;
258 if (record__output_max_size_exceeded(rec) && !done) {
262 done = 1;
401 * Coping can be done in two steps in case the chunk of profiling data
422 * perf_mmap__put() is done at record__aio_complete()
657 done = 1;
664 * It is possible for this signal handler to run after done is
667 * even though done is set, and will only break out if either
669 * read. To ensure the poll() doesn't sleep when done is set,
1947 done = 1;
2434 pr_debug3("perf record done opening and mmapping events\n");
2588 * BKW_MMAP_EMPTY here: when done == true and
2594 if (trigger_is_hit(&switch_output_trigger) || done || draining)
2654 if (done || draining)
2681 done = 1;
2699 done = 1;
2707 if (done && !disabled && !target__none(&opts->target)) {