util/cbmem: add -T option for machine parseable timestamps

Hardware / Coreboot - Aaron Durbin [chromium.org] - 31 August 2015 08:58 UTC

In order to make analysis easier provide an option (-T) to print timestamps in a parseable format:

IDraw timestamptime from previous entrydescription

BUG=chrome-os-partner:44669 BRANCH=firmware-strago-7287.B TEST=Built and tested on glados. Used the following script: cbmem -T | awk 'BEGIN { FS="\t" } { tot += $3 } END { print tot }'

Change-Id: I06dc0487d1462b6a78924130f0ad74b0d787d3f8

fbff301 util/cbmem: add -T option for machine parseable timestamps
util/cbmem/cbmem.c | 79 ++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 61 insertions(+), 18 deletions(-)

Upstream: review.coreboot.org


  • Share