From: Thomas Bertauld Date: Sat, 10 Oct 2015 23:37:18 +0000 (-0400) Subject: Fixing the missing initialization of the field 'initialized' in the global context... X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=79eab65145861824272d2ac5435fe1519b21e595;p=deliverable%2Fbarectf.git Fixing the missing initialization of the field 'initialized' in the global context of an eCore on the parallella platform --- diff --git a/platforms/parallella/barectf-platform-parallella.c b/platforms/parallella/barectf-platform-parallella.c index b20cbff..6492359 100644 --- a/platforms/parallella/barectf-platform-parallella.c +++ b/platforms/parallella/barectf-platform-parallella.c @@ -230,6 +230,9 @@ int tracing_init(void) /* open first packet */ open_packet(&g_tracing_ctx); + /* acknowledge initialization */ + g_tracing_ctx.initialized = 1; + return 0; }