public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 0/4] Fix several small errors in log time handling
@ 2024-08-06  6:18 David Gibson
  2024-08-06  6:18 ` [PATCH v2 1/4] util: Some corrections for timespec_diff_us David Gibson
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: David Gibson @ 2024-08-06  6:18 UTC (permalink / raw)
  To: passt-dev, Stefano Brivio; +Cc: David Gibson

While working on the deduplication of clock_gettime() in the logging
code, I noticed a few other minor issues.

Changes since v1:
 * Dropped merged change making logfile_write() static
 * Handle errors from clock_gettime()
 * Added fixes for some additional problems I noticed

David Gibson (4):
  util: Some corrections for timespec_diff_us
  log: Correct formatting of timestamps
  log: Handle errors from clock_gettime()
  log: Avoid duplicate calls to logtime()

 log.c  | 70 ++++++++++++++++++++++++++++++++++++++++------------------
 util.c |  4 ++--
 util.h |  2 +-
 3 files changed, 52 insertions(+), 24 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-08-07  8:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-06  6:18 [PATCH v2 0/4] Fix several small errors in log time handling David Gibson
2024-08-06  6:18 ` [PATCH v2 1/4] util: Some corrections for timespec_diff_us David Gibson
2024-08-06  6:18 ` [PATCH v2 2/4] log: Correct formatting of timestamps David Gibson
2024-08-06 19:08   ` Stefano Brivio
2024-08-07  1:06     ` David Gibson
2024-08-07  8:17       ` Stefano Brivio
2024-08-06  6:18 ` [PATCH v2 3/4] log: Handle errors from clock_gettime() David Gibson
2024-08-06  6:18 ` [PATCH v2 4/4] log: Avoid duplicate calls to logtime() David Gibson

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).