<div class="__aliyun_email_body_block"><div  style="clear:both;">><span  style="color:#000000;font-family:arial,helvetica,sans-serif;font-size:16.0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;text-align:start;text-indent:.0px;text-transform:none;widows:2;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline;">No, it's not that simple</span></div><div  style="clear:both;">Can I update that sub-buffer commit_cold counter<span  style="color:#000000;font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;text-align:start;text-indent:.0px;text-transform:none;widows:2;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline;">(how about hot one?) </span> to the "right" value then skip consuming this sub-buffer(but update the consume counter as if I have consumed the sub-buffer)?</div><div  style="clear:both;">It seems the tracing progress will continue with the cost of missing all the spans in that sub-buffer. </div><div  style="clear:both;"><br ></div><div  style="clear:both;">Thanks</div><div  style="clear:both;">zhenyu.ren</div><blockquote  style="margin-right:.0px;margin-top:.0px;margin-bottom:.0px;"><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">------------------------------------------------------------------</span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">发件人:Mathieu Desnoyers <mathieu.desnoyers@efficios.com></span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">发送时间:2021年12月10日(星期五) 04:27</span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">收件人:zhenyu.ren <zhenyu.ren@aliyun.com></span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">抄 送:lttng-dev <lttng-dev@lists.lttng.org></span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;">主 题:Re: 回复:[lttng-dev] lttng-consumerd can NOT get notification to consume ring buffer data</span></div><div  style="clear:both;"><span  style="font-family:Tahoma,Arial,STHeiti,SimSun;font-size:14.0px;color:#000000;"><br ></span></div><div  class=" __aliyun_node_has_color" style="font-family:arial,helvetica,sans-serif;font-size:16.0px;color:#000000;"><div ><span  id="zwchr">----- On Dec 7, 2021, at 8:47 PM, zhenyu.ren <zhenyu.ren@aliyun.com> wrote:<br ></span></div><div ><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">Hi, Desnoyers</span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;"><br ></span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">       For various reasons, none of the three suggestions you mentioned about reproducing the problem can be achieved easily.</span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">       I am also wonder why commit counter not updated...It seems that the span producers not complete commiting(be killed?hang?)? It‘s very hard to debug all span producers since they are too many...</span></div><div ><span  class=" __aliyun_node_has_color" style="font-family:tahoma,arial,stheiti,simsun;font-size:14.0px;color:#000000;">       So, Can I make lttng-consumer just skip out this subbuffer and try to consume the next subbuffer?</span></div><div >No, it's not that simple. Once this state is reached (e.g. caused by a killed application), just skipping this sub-buffer</div><div >will not allow applications to continue using this buffer for tracing until it is destroyed.<br ></div><div ><br ></div><div >Thanks,<br ></div><div ><br ></div><div >Mathieu<br ></div></div><div ><br ></div><div >-- <br ></div><div >Mathieu Desnoyers<br >EfficiOS Inc.<br ><a  href="http://www.efficios.com" target="_blank">http://www.efficios.com</a></div></div></blockquote><div ><br ></div></div>