Lines Matching refs:snapshot
755 if (!buf->snapshot &&
846 if (buf->snapshot) {
916 !buf->snapshot &&
1058 * the buffer has filled up. Only needed and sensible for non-snapshot counters.
1152 if (buf->snapshot)
1234 * + in snapshot mode, where we don't need interrupts;
1238 if (!buf->snapshot)
1271 * @snapshot: If this is a snapshot/overwrite counter.
1280 int nr_pages, bool snapshot)
1289 * Only support AUX sampling in snapshot mode, where we don't
1292 if (event->attr.aux_sample_size && !snapshot)
1303 buf->snapshot = snapshot;
1498 /* snapshot counters don't use PMI, so it's safe */
1561 if (!buf->snapshot) {
1612 if (buf->snapshot)
1633 * Sampling is only allowed on snapshot events;
1636 if (WARN_ON_ONCE(!buf->snapshot))