The following changes since commit c95b52caacc8ef5c1235fb3754186e981b109bdb: ci: switch macos runs from macos-12 to macos-13 (2023-09-29 11:51:10 -0400) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to 6f9cdcfcc7598c7d7b19c4a5120a251a80dab183: iolog: don't truncate time values (2023-10-02 14:29:29 +0000) ---------------------------------------------------------------- Vincent Fu (1): iolog: don't truncate time values iolog.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- Diff of recent changes: diff --git a/iolog.c b/iolog.c index 97ba4396..5213c60f 100644 --- a/iolog.c +++ b/iolog.c @@ -1002,14 +1002,14 @@ void flush_samples(FILE *f, void *samples, uint64_t sample_size) if (log_offset) { if (log_prio) - fmt = "%lu, %" PRId64 ", %u, %llu, %llu, 0x%04x\n"; + fmt = "%" PRIu64 ", %" PRId64 ", %u, %llu, %llu, 0x%04x\n"; else - fmt = "%lu, %" PRId64 ", %u, %llu, %llu, %u\n"; + fmt = "%" PRIu64 ", %" PRId64 ", %u, %llu, %llu, %u\n"; } else { if (log_prio) - fmt = "%lu, %" PRId64 ", %u, %llu, 0x%04x\n"; + fmt = "%" PRIu64 ", %" PRId64 ", %u, %llu, 0x%04x\n"; else - fmt = "%lu, %" PRId64 ", %u, %llu, %u\n"; + fmt = "%" PRIu64 ", %" PRId64 ", %u, %llu, %u\n"; } nr_samples = sample_size / __log_entry_sz(log_offset); @@ -1024,7 +1024,7 @@ void flush_samples(FILE *f, void *samples, uint64_t sample_size) if (!log_offset) { fprintf(f, fmt, - (unsigned long) s->time, + s->time, s->data.val, io_sample_ddir(s), (unsigned long long) s->bs, prio_val); @@ -1032,7 +1032,7 @@ void flush_samples(FILE *f, void *samples, uint64_t sample_size) struct io_sample_offset *so = (void *) s; fprintf(f, fmt, - (unsigned long) s->time, + s->time, s->data.val, io_sample_ddir(s), (unsigned long long) s->bs, (unsigned long long) so->offset,