summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMing Lei2019-11-04 16:26:53 +0800
committerJens Axboe2019-11-04 07:14:10 -0700
commitd2c9be89f8ebe7ebcc97676ac40f8dec1cf9b43a (patch)
treed6ebe8b26cbd810c7c41da6a4ed38569f3398c14 /tools/perf/scripts/python/stackcollapse.py
parent62c441c6ae054a0f9ff2944908ed09603b035fd3 (diff)
blk-mq: make sure that line break can be printed
8962842ca5ab ("blk-mq: avoid sysfs buffer overflow with too many CPU cores") avoids sysfs buffer overflow, and reserves one character for line break. However, the last snprintf() doesn't get correct 'size' parameter passed in, so fixed it. Fixes: 8962842ca5ab ("blk-mq: avoid sysfs buffer overflow with too many CPU cores") Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions