<div dir="ltr">Merged in master and stable-1.2.<div><br></div><div>Thanks,</div><div>J/r/mie ;-)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 3, 2015 at 11:35 AM, Julien Desfossez <span dir="ltr"><<a href="mailto:jdesfossez@efficios.com" target="_blank">jdesfossez@efficios.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The packet_seq_num is a new field in LTTng 2.8 that should be hidden<br>
from the ctf-text output as it is not really relevant for the users of<br>
the text output.<br>
<br>
Signed-off-by: Julien Desfossez <<a href="mailto:jdesfossez@efficios.com">jdesfossez@efficios.com</a>><br>
---<br>
formats/ctf-text/ctf-text.c | 6 +++++-<br>
1 file changed, 5 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/formats/ctf-text/ctf-text.c b/formats/ctf-text/ctf-text.c<br>
index 9d5123a..2ba0823 100644<br>
--- a/formats/ctf-text/ctf-text.c<br>
+++ b/formats/ctf-text/ctf-text.c<br>
@@ -115,7 +115,8 @@ static GQuark Q_STREAM_PACKET_CONTEXT_TIMESTAMP_BEGIN,<br>
Q_STREAM_PACKET_CONTEXT_TIMESTAMP_END,<br>
Q_STREAM_PACKET_CONTEXT_EVENTS_DISCARDED,<br>
Q_STREAM_PACKET_CONTEXT_CONTENT_SIZE,<br>
- Q_STREAM_PACKET_CONTEXT_PACKET_SIZE;<br>
+ Q_STREAM_PACKET_CONTEXT_PACKET_SIZE,<br>
+ Q_STREAM_PACKET_CONTEXT_PACKET_SEQ_NUM;<br>
<br>
static<br>
void __attribute__((constructor)) init_quarks(void)<br>
@@ -125,6 +126,7 @@ void __attribute__((constructor)) init_quarks(void)<br>
Q_STREAM_PACKET_CONTEXT_EVENTS_DISCARDED = g_quark_from_static_string("stream.packet.context.events_discarded");<br>
Q_STREAM_PACKET_CONTEXT_CONTENT_SIZE = g_quark_from_static_string("stream.packet.context.content_size");<br>
Q_STREAM_PACKET_CONTEXT_PACKET_SIZE = g_quark_from_static_string("stream.packet.context.packet_size");<br>
+ Q_STREAM_PACKET_CONTEXT_PACKET_SEQ_NUM = g_quark_from_static_string("stream.packet.context.packet_seq_num");<br>
}<br>
<br>
static<br>
@@ -152,6 +154,8 @@ int print_field(struct bt_definition *definition)<br>
return 0;<br>
if (definition->path == Q_STREAM_PACKET_CONTEXT_PACKET_SIZE)<br>
return 0;<br>
+ if (definition->path == Q_STREAM_PACKET_CONTEXT_PACKET_SEQ_NUM)<br>
+ return 0;<br>
<br>
return 1;<br>
}<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.1<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Jérémie Galarneau<br>EfficiOS Inc.<br><a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a></div>
</div>