]> granicus.if.org Git - sysstat/commit
sadf: Add new output format: raw (part 1)
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 18 Dec 2016 09:42:10 +0000 (10:42 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 18 Dec 2016 09:42:10 +0000 (10:42 +0100)
commit526bf49a5d1668cd96c0f8beb771f3204f772947
treebe9cbe087857acec0770fc297819e1fff15cbb78
parentee98c7010f3fa64e58cd10908c0984c1e338aeeb
sadf: Add new output format: raw (part 1)

Add a new output format to sadf to display statistics saved in a binary
data file in raw format. Counters values are displayed "as is", without
trying to calculate an average value over the elapsed time interval.
This is something I have selfishly wanted to have for a long time now,
mainly for debugging purpose.
This first patch adds all the necessary global functions, and implements
the raw format only for CPU and task creation/system switching
statistics.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Makefile.in
activity.c
format.c
raw_stats.c [new file with mode: 0644]
raw_stats.h [new file with mode: 0644]
sa.h
sadf.c
sadf.h
sadf_misc.c