Client / server code for handling histograms. The server:
authorKarl Cronburg <kcronbur@redhat.com>
Wed, 24 Aug 2016 20:12:20 +0000 (16:12 -0400)
committerKarl Cronburg <kcronbur@redhat.com>
Fri, 26 Aug 2016 15:00:04 +0000 (11:00 -0400)
- Deals with subtracting consecutive histograms so that client
  doesn't have to recreate linked list.
- Uses existing IOLOG command code to create packets, checking
  for IO_LOG_TYPE_HIST when necessary.

And the client:

- Reconstructs the pointers to the histogram bins from the packet
  format, namely (sample_0, hist_0, sample_1, hist_1, ...) in lieu
  of the current (sample_0, sample_1, ...) format used for the (void *)
  cur_log->samples.
- Flushes histograms to file with updated pointer calculation to get
  ith sample, disabling subtraction in hist_sum() using a null
  pointer.

This does not cover plain-text transmission mode (i.e. when zlib is
not present during fio compilation).

Signed-off-by: Karl Cronburg <kcronbur@redhat.com>

No differences found