Skip to content
  • Simon Glass's avatar
    trace: Reduce the number of function sites · c3d91812
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    
    Given that the compiler adds two function calls into each function, the
    current spacing is overkill. Drop it down to 16 bytes per function, which
    is still plenty. This saves some space in the trace buffer.
    
    Also move the calculation into a function, so it is common code. Add a
    check for gd->mon_len being unset, which breaks tracing.
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    c3d91812