Re: [PATCH v6] platform/chrome: cros_ec: Add trace event to trace EC commands

2019-04-23 Thread Enric Balletbo i Serra
On 16/4/19 23:03, Raul E Rangel wrote: > This is useful to see which EC commands are being executed and when. > > To enable: > > echo 1 > /sys/kernel/debug/tracing/events/cros_ec/enable > > Example: > > /* cros_ec_cmd: version: 0, command: EC_CMD_GET_VERSION */ > /* cros_ec_cmd:

[PATCH v6] platform/chrome: cros_ec: Add trace event to trace EC commands

2019-04-16 Thread Raul E Rangel
This is useful to see which EC commands are being executed and when. To enable: echo 1 > /sys/kernel/debug/tracing/events/cros_ec/enable Example: /* cros_ec_cmd: version: 0, command: EC_CMD_GET_VERSION */ /* cros_ec_cmd: version: 0, command: EC_CMD_GET_PROTOCOL_INFO */ /* cros_e