diff options
author | 2024-06-18 22:06:19 -0400 | |
---|---|---|
committer | 2024-06-19 08:58:00 -0600 | |
commit | 6bc9199d0c84f5cd72922223231c7708698059a2 (patch) | |
tree | 8f2d7a800df33594bd35d424ea3d9dc7808989e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: Fix probe of disabled operations (diff) | |
download | wireguard-linux-6bc9199d0c84f5cd72922223231c7708698059a2.tar.xz wireguard-linux-6bc9199d0c84f5cd72922223231c7708698059a2.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions