aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShaoqin Huang <[email protected]>2023-02-02 10:57:15 +0800
committerSean Christopherson <[email protected]>2023-02-08 06:38:47 -0800
commit7ae69d7087a9a4d014e11b5328a49091cc1682f8 (patch)
treeaddba7db8f8e7932f99363cbcdd5a1aaabccc848 /tools/perf/scripts/python/stackcollapse.py
parent45f679550d7295b52a1cd8b7afaf2bd31453a5b0 (diff)
selftests: KVM: Replace optarg with arg in guest_modes_cmdline
The parameter arg in guest_modes_cmdline not being used now, and the optarg should be replaced with arg in guest_modes_cmdline. And this is the chance to change strtoul() to atoi_non_negative(), since guest mode ID will never be negative. Signed-off-by: Shaoqin Huang <[email protected]> Fixes: e42ac777d661 ("KVM: selftests: Factor out guest mode code") Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Vipin Sharma <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions