summaryrefslogtreecommitdiff
path: root/strace-log-merge
Commit message (Collapse)AuthorAgeFilesLines
* strace-log-merge: enhance pid formattingDmitry V. Levin2019-03-181-8/+43
| | | | | | | | | * 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.
* strace-log-merge: fix error diagnosticsDmitry V. Levin2019-03-181-3/+5
| | | | | | | | | | * strace-log-merge: Print error diagnostics and exit with a non-zero status in case of no strace output. * NEWS: Mention this fix. * tests/strace-log-merge-error.test: New test. * tests/Makefile.am (MISC_TESTS): Add it. Fixes: v4.21~287 "strace-log-merge: work around corner cases of strace -ttt parsing"
* Change the license of strace to LGPL-2.1-or-laterDmitry V. Levin2018-12-101-21/+1
| | | | | | | | strace is now provided under the terms of the GNU Lesser General Public License version 2.1 or later, see COPYING for more details. strace test suite is now provided under the terms of the GNU General Public License version 2 or later, see tests/COPYING for more details.
* Update copyright headersDmitry V. Levin2018-04-051-1/+1
| | | | | Headers updated automatically using maint/update_copyright_years.sh script.
* Update copyright headersDmitry V. Levin2018-02-131-1/+1
| | | | | Headers updated automatically using maint/update_copyright_years.sh script.
* strace-log-merge: work around corner cases of strace -ttt parsingEugene Syromyatnikov2017-11-301-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Employing strace -ttt for the logs destined to be fed to strace-log-merge is ultimately the best solution except for the logs that pass the following dates: Thu Jan 1 00:00:09 UTC 1970 Thu Jan 1 00:01:39 UTC 1970 Thu Jan 1 00:16:39 UTC 1970 Thu Jan 1 02:46:39 UTC 1970 Fri Jan 2 03:46:39 UTC 1970 Mon Jan 12 13:46:39 UTC 1970 Sun Apr 26 17:46:39 UTC 1970 Sat Mar 3 09:46:39 UTC 1973 Sun Sep 9 01:46:39 UTC 2001 Sat Nov 20 17:46:39 UTC 2286 Wed Nov 16 09:46:39 UTC 5138 Fri Sep 27 01:46:39 UTC 33658 Sun May 20 17:46:39 UTC 318857 Sat Nov 7 09:46:39 UTC 3170843 Sun Jul 5 01:46:39 UTC 31690708 Sat Jan 25 17:46:39 UTC 316889355 Let's lift this limitation. * strace-log-merge: Generate numeric-only key for sorting, use sort -n option.
* strace-log-merge: add copyright headerEugene Syromyatnikov2017-11-301-0/+27
|
* strace-log-merge: fix file suffix calculationDmitry V. Levin2012-03-261-1/+1
| | | | | | | * strace-log-merge: Quote file prefix to fix file suffix calculation. Reported-by: Denys Vlasenko <vda.linux@googlemail.com> Suggested-by: Andreas Schwab <schwab@linux-m68k.org>
* strace-log-merge: enhance usage error diagnosticsDmitry V. Levin2012-03-251-8/+18
| | | | | * strace-log-merge: Add --help option. Check number of arguments. Issue an error message when no strace output was merged.
* strace-log-merge: cleanupDmitry V. Levin2012-03-101-25/+12
| | | | | * strace-log-merge: Redirect usage to stderr, make the check for numeric suffix simpler.
* install strace-log-merge by "make install"Denys Vlasenko2012-03-091-0/+46
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>