simon-git: xtruss (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sun Apr 27 10:48:39 BST 2025
TL;DR:
af68401 Give an error on an unknown short option.
ee4d171 Implement -t for timestamping.
Repository: https://git.tartarus.org/simon/xtruss.git
On the web: https://git.tartarus.org/?p=simon/xtruss.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2025-04-27 10:48:39
commit af68401e97bc55ed649e72ee164078ae00b3102d
web diff https://git.tartarus.org/?p=simon/xtruss.git;a=commitdiff;h=af68401e97bc55ed649e72ee164078ae00b3102d;hp=85a0d6fd186585e514193527e005bab9e4fd258f
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Apr 27 10:32:42 2025 +0100
Give an error on an unknown short option.
Yesterday I tried to run 'xtruss -t', forgetting I hadn't implemented
timestamping. xtruss silently ran anyway, confusing me completely,
because I'd simply left out the default clause in the option parser
switch!
xtruss.c | 3 +++
1 file changed, 3 insertions(+)
commit ee4d171c630847ae9b6a825d4112d3cb54b10663
web diff https://git.tartarus.org/?p=simon/xtruss.git;a=commitdiff;h=ee4d171c630847ae9b6a825d4112d3cb54b10663;hp=af68401e97bc55ed649e72ee164078ae00b3102d
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Apr 27 10:47:35 2025 +0100
Implement -t for timestamping.
Just like strace, you can specify this option multiple times to change
the timestamp format. The three supported formats are the same as
strace's.
unix/CMakeLists.txt | 2 ++
unix/utils/gettime_us.c | 20 ++++++++++++++++++++
xtruss-trace.c | 27 +++++++++++++++++++++++++++
xtruss.c | 4 ++++
xtruss.h | 16 ++++++++++++++++
5 files changed, 69 insertions(+)
More information about the tartarus-commits
mailing list