public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ross Zwisler <zwisler@google.com>
To: Raul E Rangel <rrangel@chromium.org>
Cc: linux-kernel@vger.kernel.org, zwisler@chromium.org,
	djkurtz@chromium.org,
	Enric Balletbo i Serra <enric.balletbo@collabora.com>,
	Guenter Roeck <groeck@chromium.org>,
	Benson Leung <bleung@chromium.org>
Subject: Re: [PATCH] cros_ec: Add trace event to trace EC commands
Date: Wed, 10 Apr 2019 14:41:39 -0600	[thread overview]
Message-ID: <20190410204139.GA144469@google.com> (raw)
In-Reply-To: <20190410202409.241507-1-rrangel@chromium.org>

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@chromium.org>

Reviewed-by: Ross Zwisler <zwisler@google.com>

  reply	other threads:[~2019-04-10 20:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10 20:24 [PATCH] cros_ec: Add trace event to trace EC commands Raul E Rangel
2019-04-10 20:41 ` Ross Zwisler [this message]
2019-04-11 21:55 ` Enric Balletbo Serra
2019-04-11 22:28   ` Raul Rangel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190410204139.GA144469@google.com \
    --to=zwisler@google.com \
    --cc=bleung@chromium.org \
    --cc=djkurtz@chromium.org \
    --cc=enric.balletbo@collabora.com \
    --cc=groeck@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rrangel@chromium.org \
    --cc=zwisler@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox