Searched refs:kTracePartSize (Results 1 – 5 of 5) sorted by relevance
24 const int kTracePartSize = 1 << kTracePartSizeBits; variable25 const int kTraceParts = 2 * 1024 * 1024 / kTracePartSize;26 const int kTraceSize = kTracePartSize * kTraceParts;
374 const int partidx = (epoch / kTracePartSize) % TraceParts(); in RestoreStack()376 if (epoch < hdr->epoch0 || epoch >= hdr->epoch0 + kTracePartSize) in RestoreStack()378 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0); in RestoreStack()381 const u64 ebegin = RoundDown(eend, kTracePartSize); in RestoreStack()
501 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts(); in TraceSwitch()524 return TraceSize() / kTracePartSize; in TraceParts()
93 epoch0 = RoundUp(epoch1 + 1, kTracePartSize); in OnStarted()
750 if (UNLIKELY((pos % kTracePartSize) == 0)) { in TraceAddEvent()