Make histogram samples non-cumulative by tracking a linked-list
authorKarl Cronburg <kcronbur@redhat.com>
Tue, 16 Aug 2016 19:44:09 +0000 (15:44 -0400)
committerKarl Cronburg <kcronbur@redhat.com>
Tue, 16 Aug 2016 19:51:09 +0000 (15:51 -0400)
commit65a4d15c132de669223445791b141eb90267f761
tree0b42adb83e19a78529dd8188543f6f0a94283066
parent9973b0f961a57c19f885ffca05f86ae6ef85f8c7
Make histogram samples non-cumulative by tracking a linked-list
of the most recent histogram and differencing it when we print
to the log file(s). Linked list of pointers used to minimize
runtime impact on recording side, instead choosing to do
subtraction on the logging (when logs get printed to file) side.

This helps cleanup fiologparser_hist.py, makes the log files easier
to understand at a glance, reduces file size(s), and averts the
possibility of integer overflow in the logs (for a long enough fio
job).
iolog.c
iolog.h
stat.c
stat.h
tools/hist/fiologparser_hist.py