events-rpm-smd.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Subsystem Trace Points: rpm_smd
  2. The rpm-smd tracing system captures the events related to sending/receiving
  3. messages to/from RPM hardware. The tracing system adds the following events to
  4. capture the transactions with the RPM driver.
  5. 1) RPM send message
  6. ===================
  7. rpm_send_message: ctx:%s set:%s rsc_type:0%x(%s),rsc_id:i0x%x, id:%u
  8. The event captures the parameters of the message that was sent to the RPM.
  9. The 'ctx' parameters takes one of the following string constants to indicate
  10. if the request was made in atomic/non-atomic context.
  11. . "sleep" - non-atomic context
  12. . "noslp" - atomic context
  13. The 'set' parameter takes one of the following string values to indicate if
  14. the message affects active or sleep set value of the resource
  15. . "act" - active set configuraion
  16. . "slp" - sleep set configuration
  17. The 'rsc_type' and 'rsc_id' identify the resource whose parametes is being
  18. modified. The 4 bytes string equivalent of the resource type is also displayed
  19. for easier identification of resources.
  20. The 'id' parameter is the id that RPM uses to acknowledge the receipt of the
  21. message in its ACK message
  22. 2) RPM ack message
  23. =================
  24. rpm_ack_recd: ctx:%s id:%u
  25. The event captures the acknowledgement messages received from the RPM after
  26. successfully send a message request.
  27. The 'ctx' parameter has the same string constants referred to the "RPM Send
  28. Message"
  29. The 'id' parameter is the id that RPM uses to acknowledge the receipt of the
  30. message in its ACK message