aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight/coresight-etm-perf.c
diff options
context:
space:
mode:
authorMuhammad Abdul WAHAB <muhammadabdul.wahab@centralesupelec.fr>2016-11-29 09:47:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-29 20:05:32 +0100
commita39f841a5b5b2215f99ed6dd6f75b8e06807a810 (patch)
treeae2958d9f8b5efc0bfef7713d4a3117c4324864f /drivers/hwtracing/coresight/coresight-etm-perf.c
parentcoresight: etm3x: indentation fix (extra space removed) (diff)
downloadlinux-dev-a39f841a5b5b2215f99ed6dd6f75b8e06807a810.tar.xz
linux-dev-a39f841a5b5b2215f99ed6dd6f75b8e06807a810.zip
coresight: etm3x: Adding missing features of Coresight PTM components
In the current driver for Coresight components, two features of PTM components are missing: 1. Branch Broadcasting (present also in ETM but called Branch Output) 2. Return Stack (only present in PTM v1.0 and PTMv1.1) These features can be added simply to the code using `mode` field of `etm_config` struct. 1. **Branch Broadcast** : The branch broadcast feature is present in ETM components as well and is called Branch output. It allows to retrieve addresses for direct branch addresses alongside the indirect branch addresses. For example, it could be useful in cases when tracing without source code. 2. **Return Stack** : The return stack option allows to retrieve the return addresses of function calls. It can be useful to avoid CRA (Code Reuse Attacks) by keeping a shadowstack. Signed-off-by: Muhammad Abdul Wahab <muhammadabdul.wahab@centralesupelec.fr> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etm-perf.c')
0 files changed, 0 insertions, 0 deletions