summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorShruti Parab <shruti.parab@broadcom.com>2025-08-19 19:39:16 +0300
committerJakub Kicinski <kuba@kernel.org>2025-08-21 05:34:07 +0300
commit1cc174d33a1f9acfd840014b6ded874aa12edc6c (patch)
treed4d6d91a230b9b900d8ab988d48a6a058907a29a /tools/perf/scripts/python/export-to-sqlite.py
parent5f8a4f34f6dcf4b64c3cbcfd4aa5a8d7dbcd268d (diff)
downloadlinux-1cc174d33a1f9acfd840014b6ded874aa12edc6c.tar.xz
bnxt_en: Refactor bnxt_get_regs()
Separate the code that sends the FW message to retrieve pcie stats into a new helper function. The caller of the helper will call hwrm_req_hold() beforehand and so the caller will call hwrm_req_drop() in all cases afterwards. This helper will be useful when adding the support for the larger struct pcie_ctx_hw_stats_v2. Signed-off-by: Shruti Parab <shruti.parab@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Link: https://patch.msgid.link/20250819163919.104075-3-michael.chan@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions