diff options
author | Dexuan Cui <[email protected]> | 2019-08-20 03:01:23 +0000 |
---|---|---|
committer | Sasha Levin <[email protected]> | 2019-08-20 11:28:04 -0400 |
commit | d09bc83640d524b8467a660db7b1d15e6562a1de (patch) | |
tree | ccefd39bd08c33771b5a0dfac1d2beb8b7466dd0 /tools/perf/util/trace-event-scripting.c | |
parent | 16c75963723dfd8d7ca719527052f16be7258a23 (diff) |
Input: hyperv-keyboard: Use in-place iterator API in the channel callback
Simplify the ring buffer handling with the in-place API.
Also avoid the dynamic allocation and the memory leak in the channel
callback function.
Signed-off-by: Dexuan Cui <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions