linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mike.leach@linaro.org (Mike Leach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] drivers: coresight: Adds return stack option handling.
Date: Tue, 11 Jul 2017 12:25:48 +0100	[thread overview]
Message-ID: <1499772351-2210-1-git-send-email-mike.leach@linaro.org> (raw)

Trace return stack is a PTM and ETMv4 programmable option to reduce the
amount of trace genrated by omitting addresses from the trace stream
and inferring them from a local stack of return address values saved when
branch and link instructions are traced.

Adds 'retstack' as a command line option to cs_etm event in perf.
Adds support to program PTM / ETMv4 hardware to use feature.

Mike Leach (3):
  coresight: pmu:  Adds return stack option to perf coresight pmu
  coresight: ptm: Adds trace return stack option programming for PTM.
  coresight: etm4x: Adds trace return stack option programming for
    ETMv4.

 drivers/hwtracing/coresight/coresight-etm-perf.c |  2 ++
 drivers/hwtracing/coresight/coresight-etm.h      |  1 +
 drivers/hwtracing/coresight/coresight-etm3x.c    | 18 +++++++++++++++---
 drivers/hwtracing/coresight/coresight-etm4x.c    |  4 ++++
 include/linux/coresight-pmu.h                    |  1 +
 tools/include/linux/coresight-pmu.h              |  1 +
 6 files changed, 24 insertions(+), 3 deletions(-)

-- 
2.7.4

             reply	other threads:[~2017-07-11 11:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-11 11:25 Mike Leach [this message]
2017-07-11 11:25 ` [PATCH 1/3] coresight: pmu: Adds return stack option to perf coresight pmu Mike Leach
2017-07-11 11:25 ` [PATCH 2/3] coresight: ptm: Adds trace return stack option programming for PTM Mike Leach
2017-07-11 11:25 ` [PATCH 3/3] coresight: etm4x: Adds trace return stack option programming for ETMv4 Mike Leach
2017-07-12 15:15 ` [PATCH 0/3] drivers: coresight: Adds return stack option handling Mathieu Poirier

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=1499772351-2210-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).