aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJanis Schoetterl-Glausch <[email protected]>2023-02-06 17:45:56 +0100
committerJanosch Frank <[email protected]>2023-02-07 18:05:59 +0100
commita41f505e9f7f4e13afb6f0e331f99360a3088af7 (patch)
tree43cb185adb9e23171bc42d210f418375e1de6985 /tools/perf/scripts/python
parentdc55ceaef616bdac73810d6588c23a5b50d24911 (diff)
KVM: s390: Move common code of mem_op functions into function
The vcpu and vm mem_op ioctl implementations share some functionality. Move argument checking into a function and call it from both implementations. This allows code reuse in case of additional future mem_op operations. Suggested-by: Janosch Frank <[email protected]> Signed-off-by: Janis Schoetterl-Glausch <[email protected]> Reviewed-by: Janosch Frank <[email protected]> Link: https://lore.kernel.org/r/[email protected] Message-Id: <[email protected]> Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions