summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHeyang Tan <thy15333007817@163.com>2026-09-14 10:05:21 +0800
committerJakub Kicinski <kuba@kernel.org>2026-09-17 17:49:27 -0700
commit39c6580765dad6477fb2637f6f616e0d276aae65 (patch)
treebc63a16f458db14f11a6dcf742eda7833f25fac2 /tools/perf/scripts/python/stackcollapse.py
parentdaf677c2c6449011ee695d55b48b5b2977a36f88 (diff)
downloadlinux-39c6580765dad6477fb2637f6f616e0d276aae65.tar.gz
linux-39c6580765dad6477fb2637f6f616e0d276aae65.zip
octeontx2-af: use seq_file for rsrc_alloc debugfs
The rsrc_alloc debugfs reader writes rows directly to userspace without respecting the caller's read count. It also uses the current row length as the userspace stride, which can corrupt output when rows have different widths. Use seq_file to handle userspace buffer sizes, offsets, and partial reads, and write output columns directly to the seq_file buffer. Fixes: 23205e6d06d4 ("octeontx2-af: Dump current resource provisioning status") Signed-off-by: Heyang Tan <thy15333007817@163.com> Reviewed-by: Ratheesh Kannoth <rkannoth@marvell.com> Link: https://patch.msgid.link/20260914020521.146-1-thy15333007817@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions