]> granicus.if.org Git - strace/commit
strace-log-merge: enhance pid formatting
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 18 Mar 2019 19:06:47 +0000 (19:06 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 18 Mar 2019 19:06:47 +0000 (19:06 +0000)
commitb734e8c1e8b8e76703b5614b393c89b59080e836
tree0b5dc6a3998354aa9176c57cf1cd44c985f6dda9
parenta8ca04cfa31068e4599c97a4cf83112bde5a1132
strace-log-merge: enhance pid formatting

* strace-log-merge (max_suffix_length): New variable.
(iterate_logfiles, process_suffix, process_logfile): New functions.
Use them to choose the optimum width for pid column.
* NEWS: Mention this enhancement.
* tests/strace-log-merge-suffix.test: New test.
* tests/Makefile.am (MISC_TESTS): Add it.
NEWS
strace-log-merge
tests/Makefile.am
tests/strace-log-merge-suffix.test [new file with mode: 0755]