• Alex Elder's avatar
    greybus: tracing: add timing traces · 495787a7
    Alex Elder authored
    Bryan reports he used certain message traces to determine when time
    sync messages transit the boundary between the Greybus core and the
    host device.  This patch adds two trace events--one a message event
    for outbound messages (because it indicates its operation and its
    destination), and one host device event for incoming messages
    (because message information isn't available as early as desired).
    These events are being created to allow the same sort of analysis
    of messages without having to store extra information for every
    message trace.  (The next patch changes the information a message
    trace records.)
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
    495787a7
greybus_trace.h 12.5 KB