alsa-utils/axfer
Takashi Sakamoto 2314d746b9 axfer: test: use memfd_create() for container-test
The container test program writes audio data frame to file, and read
them from the file, then validate them. For the operations, usage of
any in-memory file is good to shorten time of overall operations.

This commit uses shm via memfd_create(). As a result, overall time to
run is shorten one half of before, depending on machine environment.

I note that we can achieve the same result by using O_TMPFILE flag in
open(2) system call, however the implementation of O_TMPFILE is to add
i-node without name on underling file system, thus it has overhead
depending on implementation in each file system. On the other hand,
memfd_create() is directly relevant to shm and expected to be less
overhead.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-03-11 09:30:02 +01:00
..
test axfer: test: use memfd_create() for container-test 2021-03-11 09:30:02 +01:00
axfer-list.1 axfer: add a section to describe compatibility to aplay(1) 2018-12-07 10:55:01 +01:00
axfer-transfer.1 treewide: fix typos in manual pages 2020-10-06 13:07:29 +02:00
axfer.1 axfer: add a section about unit test 2019-01-29 16:43:09 +01:00
container-au.c axfer: add support for a container of Sparc AU format 2018-11-13 12:04:23 +01:00
container-raw.c axfer: add support for a container of raw data 2018-11-13 12:04:25 +01:00
container-riff-wave.c axfer: remove unused variable warnings 2019-05-27 15:37:05 +02:00
container-voc.c axfer: Fix creation of v1.2 headers on big-endian systems 2019-05-07 08:28:31 +02:00
container.c axfer: maintain lifetime of file descriptor outside of container module 2021-03-11 09:28:12 +01:00
container.h axfer: maintain lifetime of file descriptor outside of container module 2021-03-11 09:28:12 +01:00
frame-cache.c axfer: coverity fixes 2019-03-13 14:42:42 +01:00
frame-cache.h axfer: add support for blocking data transmission operation of alsa-lib PCM API 2018-11-13 12:04:32 +01:00
main.c axfer: print help text of command entry 2018-12-07 10:56:10 +01:00
Makefile.am axfer: add a manual for transfer subcommand 2018-12-07 10:54:55 +01:00
mapper-multiple.c axfer: mapper: fix parameter check for demuxer 2019-07-31 15:57:28 +02:00
mapper-single.c axfer: add support for a mapper for single target 2018-11-13 12:04:27 +01:00
mapper.c axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
mapper.h axfer: add support for a mapper for multiple target 2018-11-13 12:04:28 +01:00
misc.h axfer: add a parser for command-line options 2018-11-13 12:04:30 +01:00
subcmd-list.c treewide: Fix printf formats 2019-11-20 19:46:17 +01:00
subcmd-transfer.c axfer: maintain lifetime of file descriptor outside of container module 2021-03-11 09:28:12 +01:00
subcmd.h axfer: add a sub-command to transfer data frames 2018-11-13 12:04:33 +01:00
waiter-epoll.c axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
waiter-poll.c axfer: add an implementation of waiter for poll(2) 2018-11-13 12:04:50 +01:00
waiter-select.c axfer: fix to return error code when a call of select(2) fails 2019-10-30 13:13:22 +01:00
waiter.c axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
waiter.h axfer: add an implementation of waiter for epoll(7) 2018-11-13 12:04:51 +01:00
xfer-libasound-irq-mmap.c Avoid pointer arithmetic on void * 2020-02-10 12:38:52 +01:00
xfer-libasound-irq-rw.c axfer: handle -ETIMEDOUT before non-block I/O operation 2019-10-30 13:13:22 +01:00
xfer-libasound-timer-mmap.c Avoid pointer arithmetic on void * 2020-02-10 12:38:52 +01:00
xfer-libasound.c axfer: return ETIMEDOUT when no event occurs after waiter expiration 2019-10-30 13:13:22 +01:00
xfer-libasound.h axfer: add support for timer-based scheduling model with MMAP operation 2018-11-13 12:04:51 +01:00
xfer-libffado.c treewide: Fix printf formats 2019-11-20 19:46:17 +01:00
xfer-options.c treewide: Fix printf formats 2019-11-20 19:46:17 +01:00
xfer.c axfer: enable each backend to print own help 2018-12-07 10:57:44 +01:00
xfer.h axfer: enable each backend to print own help 2018-12-07 10:57:44 +01:00