User Tools

Site Tools


devel:troubleshooting-gdb-scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
devel:troubleshooting-gdb-scripts [2017/09/05 15:39]
miconda created
devel:troubleshooting-gdb-scripts [2017/09/05 16:16] (current)
miconda [Transaction Structures]
Line 6: Line 6:
  
 ==== Transaction Structures ==== ==== Transaction Structures ====
 +
 +Transactions are stored in hash table _tm_table that has 65536 slots (defined as TABLE_ENTRIES in the code).
  
 <code perl> <code perl>
 set $i=0 set $i=0
-while($i<TABLE_ENTRIES)+while($i<65536)
  
 set $ehead = &_tm_table->entries[$i] set $ehead = &_tm_table->entries[$i]
Line 23: Line 25:
 end end
 </code> </code>
 +
 +===== Memory =====
 +
 +See:
 +
 +  * https://www.kamailio.org/wiki/tutorials/troubleshooting/memory#using_gdb
devel/troubleshooting-gdb-scripts.1504618761.txt.gz ยท Last modified: 2017/09/05 15:39 by miconda