aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2020-04-06 12:41:51 +0200
committerWei Liu <[email protected]>2020-04-23 13:17:10 +0000
commita276463b7aeb6186e7e4315cccb032773fb31b5d (patch)
tree146a66a72e15b62f8f48a6c71fb8f62ca2c50521 /tools/perf/scripts/python/export-to-sqlite.py
parentac0f7d42584125dab8039e60ab4ade48cc2db61c (diff)
Drivers: hv: allocate the exact needed memory for messages
When we need to pass a buffer with Hyper-V message we don't need to always allocate 256 bytes for the message: the real message length is known from the header. Change 'struct onmessage_work_context' to make it possible to not over-allocate. Signed-off-by: Vitaly Kuznetsov <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions