diff options
| author | Anshuman Khandual <[email protected]> | 2023-09-21 09:06:30 +0530 |
|---|---|---|
| committer | Suzuki K Poulose <[email protected]> | 2023-11-16 11:35:06 +0000 |
| commit | 94566c5b07744c7cf5c7cc0ad42b15996ba0b054 (patch) | |
| tree | a5c652aac5e5d90c788aa156e4a842c54b9e6c8d /tools/perf/scripts/python/netdev-times.py | |
| parent | 4aff040bcc8de28bead01194cbca1dc9471a5a85 (diff) | |
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 <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: James Clark <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Mike Leach <[email protected]>
Signed-off-by: Anshuman Khandual <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions