summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCosmin Tanislav <demonsingur@gmail.com>2025-06-13 14:21:51 +0300
committerHans Verkuil <hverkuil@xs4all.nl>2025-06-23 12:11:04 +0200
commitc898efdd6ecc4a9f9f4d4114370e6ed477f66b8a (patch)
tree70f77f572c8e6a5526189c41bf534ef27bc5464c /tools/perf/scripts/python/export-to-postgresql.py
parent803b9eabc649c778986449eb0596e5ffeb7a8aed (diff)
downloadlinux-c898efdd6ecc4a9f9f4d4114370e6ed477f66b8a.tar.gz
linux-c898efdd6ecc4a9f9f4d4114370e6ed477f66b8a.zip
media: rc: ir-spi: allocate buffer dynamically
Replace the static transmit buffer with a dynamically allocated one, removing the limit imposed on the number of pulses to transmit. Calculate the number of pulses for each duration in the received buffer ahead of time, while also adding up the total pulses, to be able to allocate a buffer that perfectly fits the total number of pulses, then populate it. Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions