• Dmitry Vyukov's avatar
    runtime/trace: test detection of broken timestamps · 75b844f0
    Dmitry Vyukov authored
    On some processors cputicks (used to generate trace timestamps)
    produce non-monotonic timestamps. It is important that the parser
    distinguishes logically inconsistent traces (e.g. missing, excessive
    or misordered events) from broken timestamps. The former is a bug
    in tracer, the latter is a machine issue.
    
    Test that (1) parser does not return a logical error in case of
    broken timestamps and (2) broken timestamps are eventually detected
    and reported.
    
    Change-Id: Ib4b1eb43ce128b268e754400ed8b5e8def04bd78
    Reviewed-on: https://go-review.googlesource.com/21608Reviewed-by: 's avatarAustin Clements <austin@google.com>
    75b844f0
Name
Last commit
Last update
..
trace.go Loading commit data...
trace_stack_test.go Loading commit data...
trace_test.go Loading commit data...