summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShruti Parab <shruti.parab@broadcom.com>2025-07-10 14:39:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-17 18:44:00 +0200
commitd717f65d01a09ba5f81d43ea84853db5ee2e6321 (patch)
treeccc6cf467f0178b1493c3477fcc2db19fe36c407 /tools/perf/scripts/python/stackcollapse.py
parente1df900aca2e1e6ab490731481dd7543752a2b93 (diff)
downloadkernel-d717f65d01a09ba5f81d43ea84853db5ee2e6321.tar.gz
bnxt_en: Flush FW trace before copying to the coredump
[ Upstream commit 100c08c89d173b7fdf953e7d9f9ca8f69f80d1c5 ] bnxt_fill_drv_seg_record() calls bnxt_dbg_hwrm_log_buffer_flush() to flush the FW trace buffer. This needs to be done before we call bnxt_copy_ctx_mem() to copy the trace data. Without this fix, the coredump may not contain all the FW traces. Fixes: 3c2179e66355 ("bnxt_en: Add FW trace coredump segments to the coredump") Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Shruti Parab <shruti.parab@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Link: https://patch.msgid.link/20250710213938.1959625-3-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions