summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorGavin Shan <gshan@redhat.com>2025-11-24 15:04:27 +1000
committerSean Christopherson <seanjc@google.com>2025-12-02 08:49:10 -0800
commit1b9439c933b500cb24710bbd81fe56e9b0025b6f (patch)
tree46b3dbc08367fab04594d0b31111f42879690536 /tools/perf/scripts/python/bin/stackcollapse-record
parent32bd348be3fa07b26c5ea6b818a161c142dcc2f2 (diff)
KVM: selftests: Add missing "break" in rseq_test's param parsing
In commit 0297cdc12a87 ("KVM: selftests: Add option to rseq test to override /dev/cpu_dma_latency"), a 'break' is missed before the option 'l' in the argument parsing loop, which leads to an unexpected core dump in atoi_paranoid(). It tries to get the latency from non-existent argument. host$ ./rseq_test -u Random seed: 0x6b8b4567 Segmentation fault (core dumped) Add a 'break' before the option 'l' in the argument parsing loop to avoid the unexpected core dump. Fixes: 0297cdc12a87 ("KVM: selftests: Add option to rseq test to override /dev/cpu_dma_latency") Cc: stable@vger.kernel.org # v6.15+ Signed-off-by: Gavin Shan <gshan@redhat.com> Link: https://patch.msgid.link/20251124050427.1924591-1-gshan@redhat.com [sean: describe code change in shortlog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions