提交 7ff59207 编写于 作者: L Larry Dewey 提交者: Stefan Hajnoczi

trace: simple style changes

This changes two lines in simple.c that end with a comma, and replaces them
with a semi-colon.
Signed-off-by: NLarry Dewey <ldewey@suse.com>
Reviewed-by: NJohn Snow <jsnow@redhat.com>
Message-id: 20181127190849.10558-1-ldewey@suse.com
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 8fbc12f3
......@@ -169,9 +169,9 @@ static gpointer writeout_thread(gpointer opaque)
wait_for_trace_records_available();
if (g_atomic_int_get(&dropped_events)) {
dropped.rec.event = DROPPED_EVENT_ID,
dropped.rec.event = DROPPED_EVENT_ID;
dropped.rec.timestamp_ns = get_clock();
dropped.rec.length = sizeof(TraceRecord) + sizeof(uint64_t),
dropped.rec.length = sizeof(TraceRecord) + sizeof(uint64_t);
dropped.rec.pid = trace_pid;
do {
dropped_count = g_atomic_int_get(&dropped_events);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册