Namespaces

Functions

  • uint64_t GenerateTraceId ()

    Generates a trace ID that will be unique across the system (barring overflow of the per-process

    nonce, reuse of a zx_handle_t for two processes, or some other code in this process which uses

    the same procedure to generate IDs).

    We use this instead of the standard TRACE_NONCE because TRACE_NONCE is only unique within a

    process; we need IDs that are unique across all processes.

    Defined at line 123 of file ../../src/storage/lib/trace/trace_disabled.h