trace: save bootup timestamp
authorJerin Jacob <jerinj@marvell.com>
Wed, 22 Apr 2020 19:03:23 +0000 (00:33 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 23 Apr 2020 13:39:20 +0000 (15:39 +0200)
commit185b7dc1d467a9c9b107450558b460e59596adef
treede9afd2479afebb067bd4fd5ff548c437b07d63c
parent321dd5f8fa626f38cb031577c31366e7547b1d2f
trace: save bootup timestamp

Find epoch_sec, epoch_nsec and uptime_ticks time information
on eal_trace_init()/bootup to derive the time in the trace.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/common/eal_common_trace.c
lib/librte_eal/common/eal_common_trace_utils.c
lib/librte_eal/common/eal_trace.h