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