[lttng-dev] 回复: lttng-consumerd can NOT get notification to consume ring buffer data

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Dec 9 15:20:14 EST 2021


----- On Dec 7, 2021, at 8:47 PM, zhenyu.ren <zhenyu.ren at aliyun.com> wrote: 

> Hi, Desnoyers

> For various reasons, none of the three suggestions you mentioned about
> reproducing the problem can be achieved easily.
> 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...
> So, Can I make lttng-consumer just skip out this subbuffer and try to consume
> the next subbuffer?

No, it's not that simple. Once this state is reached (e.g. caused by a killed application), just skipping this sub-buffer 
will not allow applications to continue using this buffer for tracing until it is destroyed. 

Thanks, 

Mathieu 

-- 
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20211209/f62e531f/attachment.htm>


More information about the lttng-dev mailing list