diff options
author | Gabriel Krisman Bertazi <krisman@suse.de> | 2024-06-19 05:06:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-19 17:58:00 +0300 |
commit | 6bc9199d0c84f5cd72922223231c7708698059a2 (patch) | |
tree | 8f2d7a800df33594bd35d424ea3d9dc7808989e5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3e05b222382ec67dce7358d50b6006e91d028d8b (diff) | |
download | linux-6bc9199d0c84f5cd72922223231c7708698059a2.tar.xz |
io_uring: Allocate only necessary memory in io_probe
We write at most IORING_OP_LAST entries in the probe buffer, so we don't
need to allocate temporary space for more than that. As a side effect,
we no longer can overflow "size".
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20240619020620.5301-3-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions