summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-01-24 10:14:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-26 16:54:48 +0300
commit32330c833442d4041dbd20508f6cd2419deb16eb (patch)
treeaba70bbafc0fda9081398863000f4ad4bf4ce3cc /tools/perf/scripts/python/export-to-postgresql.py
parent92cc9d1d14e3ba8e82c99a4b4c90cce1db3c3fa9 (diff)
downloadlinux-32330c833442d4041dbd20508f6cd2419deb16eb.tar.xz
mxser: switch from xmit_buf to kfifo
Use kfifo for xmit buffer handling. The change is mostly straightforward. It saves complexity both on the stuffing side (mxser_write() and mxser_put_char()) and pulling side (mxser_transmit_chars()). In fact, the loop in mxser_write() can be completely deleted as the wrap of the buffer is taken care of in the kfifo code now. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220124071430.14907-8-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions