linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] drivers: coresight: Adds return stack option handling.
@ 2017-07-11 11:25 Mike Leach
  2017-07-11 11:25 ` [PATCH 1/3] coresight: pmu: Adds return stack option to perf coresight pmu Mike Leach
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mike Leach @ 2017-07-11 11:25 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-12 15:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-11 11:25 [PATCH 0/3] drivers: coresight: Adds return stack option handling Mike Leach
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

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).