发明名称 Mechanism for ring buffering in an arbitrary-action tracing framework
摘要 A method for storing a data set having an enabled probe identification component and an associated data component in a buffer, including storing the data set at a current offset if the buffer has sufficient space to store the data set between a current offset and a limit of the buffer and the buffer is not marked as wrapped, marking the buffer as wrapped, setting the current offset to zero and setting a wrapped offset to zero, if the buffer does not have sufficient space to store the data set between a current offset and a limit of the buffer, and incrementing the wrapped offset by a stored data set size until there is sufficient space between the current offset and the wrapped offset to store the data set if the buffer is marked as wrapped, wherein the stored data set size is determined using an enabled probe identification associated with the stored data set.
申请公布号 US7146473(B1) 申请公布日期 2006.12.05
申请号 US20030713602 申请日期 2003.11.14
申请人 SUN MICROSYSTEMS, INC. 发明人 CANTRILL BRYAN M.
分类号 G06F12/00 主分类号 G06F12/00
代理机构 代理人
主权项
地址