diff --git a/src/cmd/trace/trace.go b/src/cmd/trace/trace.go index 6b5cfe30e5..29fae015ed 100644 --- a/src/cmd/trace/trace.go +++ b/src/cmd/trace/trace.go @@ -322,10 +322,6 @@ func (ctx *traceContext) emit(e *ViewerEvent) { } func (ctx *traceContext) time(ev *trace.Event) int64 { - if ev.Ts < ctx.startTime || ev.Ts > ctx.endTime { - fmt.Printf("ts=%v startTime=%v endTime=%v\n", ev.Ts, ctx.startTime, ctx.endTime) - panic("timestamp is outside of trace range") - } // NOTE: trace viewer wants timestamps in microseconds and it does not // handle fractional timestamps (rounds them). We give it timestamps // in nanoseconds to avoid rounding. See: