]> granicus.if.org Git - strace/commit
aio: print IOCB_CMD_* using xlat
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 17 Jun 2018 21:15:51 +0000 (23:15 +0200)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 17 Jun 2018 23:02:13 +0000 (01:02 +0200)
commitb54134352acbe41ea05c0f41ca901444862ccbfd
tree739bbd0b57cd287b6de210fb92997727f293bcf9
parent59974bed262dbf447818c9e498e268921bee65e6
aio: print IOCB_CMD_* using xlat

* xlat/aio_cmds.in: New file.
* aio.c (tprint_lio_opcode): Change array of structs "cmds" to array of
enums "subs", use printxval_indexn_ex for printing cmd, return sub type
using subs array.
aio.c
xlat/aio_cmds.in [new file with mode: 0644]