count: add ability to sort on errors field
authorEugene Syromyatnikov <evgsyr@gmail.com>
Tue, 4 Sep 2018 17:20:36 +0000 (19:20 +0200)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Thu, 8 Aug 2019 17:04:29 +0000 (19:04 +0200)
commitf9dba1be6f2f717d76f49433d3554eadededf591
tree6a9801ef2fe22cc9ff86ba32dbbd981c93a9d630
parent3843af638cd7d0cd0aa46121d45cb52ed23596b0
count: add ability to sort on errors field

For completeness.

* count.c (error_cmp): New function.
(set_sortby): Add sort keys for errors field.
* strace.1.in (.SH OPTIONS) <-S>: Document it.
* strace.c (usage): Likewise.
* tests/strace-S.test: Check it.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
count.c
strace.1.in
strace.c
tests/strace-S.test