diff options
author | Janis Schoetterl-Glausch <[email protected]> | 2023-02-06 17:45:56 +0100 |
---|---|---|
committer | Janosch Frank <[email protected]> | 2023-02-07 18:05:59 +0100 |
commit | a41f505e9f7f4e13afb6f0e331f99360a3088af7 (patch) | |
tree | 43cb185adb9e23171bc42d210f418375e1de6985 /tools/perf/scripts/python/stackcollapse.py | |
parent | dc55ceaef616bdac73810d6588c23a5b50d24911 (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions