[PATCH 0/2] scripts: show_delta: additional features

From: Erik Stromdahl
Date: Sat Apr 22 2017 - 13:53:41 EST


This patch series adds two new features to the show_delta script:

- rounding
- delta time stamp only output

The purpose of the patches is to make it easier to diff show_delta-
processed kernel logs when debugging timing problems.
Rounding of the delta time stamps removes small (perhaps random)
differences in the time stamps which results in less irrelevant
differences detected by a diff tool. This can be useful when diffing
logs from different test runs in order to detect if there has been any
significant differences in timing.

Adding the possibility to print only delta time stamps (and not the
combination of absolute and delta time stamps which is the default
behavior of show_delta) also makes it easier to diff logs from
different test runs.

Erik Stromdahl (2):
scripts: show_delta: add time stamp rounding option
scripts: show_delta: add --delta-only option

scripts/show_delta | 45 +++++++++++++++++++++++++++++++++++++++++----
1 file changed, 41 insertions(+), 4 deletions(-)

--
2.7.4