Lines Matching refs:snapshot
771 if (!buf->snapshot &&
862 if (buf->snapshot) {
932 !buf->snapshot &&
1074 * the buffer has filled up. Only needed and sensible for non-snapshot counters.
1168 if (buf->snapshot)
1250 * + in snapshot mode, where we don't need interrupts;
1254 if (!buf->snapshot)
1287 * @snapshot: If this is a snapshot/overwrite counter.
1296 int nr_pages, bool snapshot)
1305 * Only support AUX sampling in snapshot mode, where we don't
1308 if (event->attr.aux_sample_size && !snapshot)
1319 buf->snapshot = snapshot;
1514 /* snapshot counters don't use PMI, so it's safe */
1577 if (!buf->snapshot) {
1628 if (buf->snapshot)
1649 * Sampling is only allowed on snapshot events;
1652 if (WARN_ON_ONCE(!buf->snapshot))