diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-13 10:16:10 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-13 12:02:54 +0100 |
commit | 811b10e2bd7fd2cd8ced9bbb55361c178886bbbd (patch) | |
tree | 7316a9098b9b86982e5fbf6c383295991b827b08 /lib/intel_batchbuffer.h | |
parent | 3374cd0b048f9c277b2815bf80502f9f89680176 (diff) |
runner: Add a timestamp to each log message
Very handy for correlating events between different logs.
This generate igt_runner0.txt output like:
[28.112360] Initializing watchdogs
[28.112424] /dev/watchdog0
[28.114069] [001/269] (960s left) core_auth (basic-auth)
Starting subtest: basic-auth
Subtest basic-auth: SUCCESS (0.000s)
[28.224898] [002/269] (960s left) debugfs_test (read_all_entries)
Starting subtest: read_all_entries
Subtest read_all_entries: SUCCESS (0.035s)
The subtest logs are separate (not part of the runner's logging per-se),
but the flow of events is clear enough from the runner's timestamp for
now.
v2: Concatenate split messages into a single call (so that the timestamp
is only added once!)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.h')
0 files changed, 0 insertions, 0 deletions