On Wed, Apr 10, 2019 at 02:24:08PM -0600, Raul E Rangel wrote:
> This is useful to see which EC commands are being executed and when.
> 
> To enable:
> 
>     echo 'cros_ec:*' >> /sys/kernel/debug/tracing/set_event
> 
> Example:
> 
>     /* cros_ec_cmd: version: 0, command: GET_VERSION */
>     /* cros_ec_cmd: version: 0, command: GET_PROTOCOL_INFO */
>     /* cros_ec_cmd: version: 1, command: GET_CMD_VERSIONS */
>     /* cros_ec_cmd: version: 1, command: USB_PD_CONTROL */
> 
> Signed-off-by: Raul E Rangel <[email protected]>

Reviewed-by: Ross Zwisler <[email protected]>

Reply via email to