[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190410204139.GA144469@google.com>
Date: Wed, 10 Apr 2019 14:41:39 -0600
From: Ross Zwisler <zwisler@...gle.com>
To: Raul E Rangel <rrangel@...omium.org>
Cc: linux-kernel@...r.kernel.org, zwisler@...omium.org,
djkurtz@...omium.org,
Enric Balletbo i Serra <enric.balletbo@...labora.com>,
Guenter Roeck <groeck@...omium.org>,
Benson Leung <bleung@...omium.org>
Subject: Re: [PATCH] cros_ec: Add trace event to trace EC commands
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 <rrangel@...omium.org>
Reviewed-by: Ross Zwisler <zwisler@...gle.com>
Powered by blists - more mailing lists