aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2022-05-03 18:02:22 +0100
committerCatalin Marinas <[email protected]>2022-05-04 15:30:27 +0100
commite6a6b34f97efe3ded077b31f4370b4c1206c9e56 (patch)
tree02de2b1cbdae3aa337857ac5c2ae7fa89f69e8d7 /tools/perf/scripts/python/syscall-counts.py
parentb2d229d4ddb17db541098b83524d901257e93845 (diff)
arm64/sysreg: Introduce helpers for access to sysreg fields
The macros we define for the bitfields within sysregs have very regular names, especially once we switch to automatic generation of those macros. Take advantage of this to define wrappers around FIELD_PREP() allowing us to simplify setting values in fields either numerically SYS_FIELD_PREP(SCTLR_EL1, TCF0, 0x0) or using the values of enumerations within the fields SYS_FIELD_PREP_ENUM(SCTLR_EL1, TCF0, ASYMM) Suggested-by: Mark Rutland <[email protected]> Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions