Use default if there is no clock declaration
authorJuha Niskanen <juniskane@gmail.com>
Mon, 13 Feb 2012 13:55:20 +0000 (08:55 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Feb 2012 13:55:20 +0000 (08:55 -0500)
In absence of clock description in metadata, use a default clock
source which increments once per nanosecond.

Without this patch, the converter crashes when given old traces
that are lacking clock description block.

[ Edit by Mathieu Desnoyers: style cleanup, added clock description,
  added comments. ]

Signed-off-by: Juha Niskanen <juniskane@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.025971 seconds and 4 git commands to generate.