diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-10-13 11:02:00 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-13 11:02:00 -0600 |
commit | 9663e751c25d3bf52e959d8c9025460d2f645b1e (patch) | |
tree | 9083b3694e7d2ee9c9d049c3fd3d76600d566a70 | |
parent | 983a656c11bf35043759de48aa5a85bdb4ffb106 (diff) | |
parent | 1fb9250b81aa7c655cb62ab26647a6ad54a279d5 (diff) | |
download | fio-9663e751c25d3bf52e959d8c9025460d2f645b1e.tar.gz fio-9663e751c25d3bf52e959d8c9025460d2f645b1e.tar.bz2 |
Merge branch 'fix-corrupt-hist-log' of https://github.com/sitsofe/fio
* 'fix-corrupt-hist-log' of https://github.com/sitsofe/fio:
stat: fix corruption in histogram logs
-rw-r--r-- | stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2580,7 +2580,7 @@ void add_clat_sample(struct thread_data *td, enum fio_ddir ddir, io_u_plat = (uint64_t *) td->ts.io_u_plat[ddir]; dst = malloc(sizeof(struct io_u_plat_entry)); memcpy(&(dst->io_u_plat), io_u_plat, - FIO_IO_U_PLAT_NR * sizeof(unsigned int)); + FIO_IO_U_PLAT_NR * sizeof(uint64_t)); flist_add(&dst->list, &hw->list); __add_log_sample(iolog, sample_plat(dst), ddir, bs, elapsed, offset); |