summaryrefslogtreecommitdiffstats
path: root/Documentation/trace
diff options
context:
space:
mode:
authorAnshuman Khandual <anshuman.khandual@arm.com>2023-09-21 09:06:30 +0530
committerSuzuki K Poulose <suzuki.poulose@arm.com>2023-11-16 11:35:06 +0000
commit94566c5b07744c7cf5c7cc0ad42b15996ba0b054 (patch)
treea5c652aac5e5d90c788aa156e4a842c54b9e6c8d /Documentation/trace
parent4aff040bcc8de28bead01194cbca1dc9471a5a85 (diff)
downloadlinux-94566c5b07744c7cf5c7cc0ad42b15996ba0b054.tar.gz
linux-94566c5b07744c7cf5c7cc0ad42b15996ba0b054.tar.bz2
linux-94566c5b07744c7cf5c7cc0ad42b15996ba0b054.zip
coresight: etm: Make cycle count threshold user configurable
When cycle counting is enabled, we use a default threshold value i.e 0x100 for the instruction trace cycle counting. This patch makes the cycle threshold user configurable via perf event attributes( 'cc_threshold' => event->attr.config3[11:0] ), falling back to the current default if unspecified. Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Cc: Mike Leach <mike.leach@linaro.org> Cc: James Clark <james.clark@arm.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: coresight@lists.linaro.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Reviewed-by: Mike Leach <mike.leach@linaro.org> Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20230921033631.1298723-3-anshuman.khandual@arm.com
Diffstat (limited to 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions