diff options
author | 2022-02-03 15:32:15 +0100 | |
---|---|---|
committer | 2022-03-01 15:46:02 +0100 | |
commit | 1c1813a743fe84d0dcf53743baa4edc1f74c44c8 (patch) | |
tree | 1635a1f8737a9ec9a09e3b4e12597c0396584ada /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | wireguard-linux-1c1813a743fe84d0dcf53743baa4edc1f74c44c8.tar.xz wireguard-linux-1c1813a743fe84d0dcf53743baa4edc1f74c44c8.zip |
HID: core: statically allocate read buffers
This is a preparation patch for rethinking the generic processing
of HID reports.
We can actually pre-allocate all of our memory instead of dynamically
allocating/freeing it whenever we parse a report.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions