From: mike.leach@linaro.org (Mike Leach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] documentation: trace: Clarification of perf usage with coresight.
Date: Mon, 20 Mar 2017 20:36:18 +0000 [thread overview]
Message-ID: <1490042178-2547-1-git-send-email-mike.leach@linaro.org> (raw)
Update to the coresight.txt documentation to clarify the specification
of the trace sink when using 'perf record'
Signed-off-by: Mike Leach <mike.leach@linaro.org>
---
Documentation/trace/coresight.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/trace/coresight.txt b/Documentation/trace/coresight.txt
index d1033aa..e8af562 100644
--- a/Documentation/trace/coresight.txt
+++ b/Documentation/trace/coresight.txt
@@ -243,6 +243,12 @@ linaro at linaro-nano:~$ perf record -e cs_etm//u --per-thread <command>
linaro at linaro-nano:~$ perf record -C 0,2-3 -e cs_etm//k <command>
+Note that after a trace run, the sink will be disabled, so it must be
+re-enabled before the next 'perf record' command is executed.
+Alternatively the sink may be specified as part of the perf command line:
+
+linaro at linaro-nano:~$ perf record -e cs_etm/@20010000.etb/u --per-thread <command>
+
As of this writing two ETM/PTM specific options have are available: cycle
accurate and timestamp (please refer to the Embedded Trace Macrocell reference
manual for details on these options). By default both are disabled but using
--
2.7.4
reply other threads:[~2017-03-20 20:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1490042178-2547-1-git-send-email-mike.leach@linaro.org \
--to=mike.leach@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).