aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2016-05-31 12:33:01 +0100
committerCatalin Marinas <[email protected]>2016-06-21 17:07:09 +0100
commit275f344bec51e9100bae81f3cc8c6940bbfb24c0 (patch)
treeeac2a9c274c24ac8e3e8e15dca05f9ffb5c24938 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentb67a8b29df7e6410c605c2759707c96512b15578 (diff)
arm64: add macro to extract ESR_ELx.EC
Several places open-code extraction of the EC field from an ESR_ELx value, in subtly different ways. This is unfortunate duplication and variation, and the precise logic used to extract the field is a distraction. This patch adds a new macro, ESR_ELx_EC(), to extract the EC field from an ESR_ELx value in a consistent fashion. Existing open-coded extractions in core arm64 code are moved over to the new helper. KVM code is left as-is for the moment. Signed-off-by: Mark Rutland <[email protected]> Tested-by: Huang Shijie <[email protected]> Cc: Dave P Martin <[email protected]> Cc: James Morse <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions