From: Mathieu Desnoyers Date: Sat, 21 May 2011 22:02:01 +0000 (-0400) Subject: Fix metadata X-Git-Tag: v2.0-pre1~123 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=91e0dcaa69c92501ce4e045c76486f258fd5e0e5;p=lttng-modules.git Fix metadata Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-events.c b/ltt-events.c index 28d17fc7..8a6f8e99 100644 --- a/ltt-events.c +++ b/ltt-events.c @@ -522,7 +522,7 @@ int _ltt_event_metadata_statedump(struct ltt_session *session, " name = %s;\n" " id = %u;\n" " stream_id = %u;\n" - " event.fields := struct {\n", + " fields := struct {\n", event->desc->name, event->id, event->chan->id); @@ -715,7 +715,7 @@ skip_session: } list_for_each_entry(event, &session->events, list) { - ret = _ltt_event_metadata_statedump(session, chan, event); + ret = _ltt_event_metadata_statedump(session, event->chan, event); if (ret) goto end; }