<p>Corey Farrell <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10347">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">astobj2: Record lock usage to refs log when DEBUG_THREADS is enabled.<br><br>When DEBUG_THREADS is enabled we can know if the astobj2 mutex / rwlock<br>was ever used, so it can be recorded in the REF_DEBUG destructor entry.<br><br>Create contrib/scripts/reflocks.py to process locking used by<br>allocator.  This can be used to identify places where<br>AO2_ALLOC_OPT_LOCK_NOLOCK should be used to reduce memory usage.<br><br>Change-Id: I2e3cd23336a97df2692b545f548fd79b14b53bf4<br>---<br>M contrib/scripts/refcounter.py<br>A contrib/scripts/reflocks.py<br>M main/astobj2.c<br>3 files changed, 157 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/47/10347/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10347">change 10347</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10347"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I2e3cd23336a97df2692b545f548fd79b14b53bf4 </div>
<div style="display:none"> Gerrit-Change-Number: 10347 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>