Searched refs:kTracePartSize (Results 1 – 5 of 5) sorted by relevance
23 const int kTracePartSize = 1 << kTracePartSizeBits; variable24 const int kTraceParts = 2 * 1024 * 1024 / kTracePartSize;25 const int kTraceSize = kTracePartSize * kTraceParts;
397 const int partidx = (epoch / kTracePartSize) % TraceParts(); in RestoreStack()399 if (epoch < hdr->epoch0 || epoch >= hdr->epoch0 + kTracePartSize) in RestoreStack()401 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0); in RestoreStack()404 const u64 ebegin = RoundDown(eend, kTracePartSize); in RestoreStack()
693 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts(); in TraceSwitch()714 return TraceSize() / kTracePartSize; in TraceParts()
199 epoch0 = RoundUp(epoch1 + 1, kTracePartSize); in OnStarted()
622 if (UNLIKELY((pos % kTracePartSize) == 0)) { in TraceAddEvent()