[OpenSIPS-Devel] [OpenSIPS/opensips] a74fff: struct hist debugging: Enhance the API
Liviu Chircu
noreply at github.com
Mon Aug 26 11:15:52 EDT 2019
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: a74fff149a19c51ad333342c9a33357d3385f05b
https://github.com/OpenSIPS/opensips/commit/a74fff149a19c51ad333342c9a33357d3385f05b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-08-26 (Mon, 26 Aug 2019)
Changed paths:
M lib/dbg/struct_hist.c
M lib/dbg/struct_hist.h
M net/net_tcp.c
Log Message:
-----------
struct hist debugging: Enhance the API
* add the possibility to disable auto-logging. Previously, each
debugged entity would periodically dump logs to disk as it
accumulated logs. Disabling auto logging is especially useful
when troubleshooting code in high-throughput environments.
* sh_log() is now a macro, which will additionally print the
FILE / FUNC / LINE of the calling code, offering more
troubleshooting insights and reducing the amount of code written
* simplify sh_unref(), the 2nd parameter was unnecessary
(cherry picked from commit deb03fe86a8d0134526c86e62183cb80887b09c9)
Commit: fd46af53bc1edc6c7dd0e7d8b2ca1c0d60f9cb1a
https://github.com/OpenSIPS/opensips/commit/fd46af53bc1edc6c7dd0e7d8b2ca1c0d60f9cb1a
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-08-26 (Mon, 26 Aug 2019)
Changed paths:
M lib/dbg/struct_hist.h
M modules/dialog/Makefile
M modules/dialog/dialog.c
M modules/dialog/dlg_hash.c
M modules/dialog/dlg_hash.h
M modules/dialog/dlg_load.h
M modules/siprec/siprec.c
M modules/siprec/siprec_logic.c
M modules/topology_hiding/topo_hiding_logic.c
Log Message:
-----------
dialog: Add optional ref troubleshooting support
(cherry picked from commit 21e33d0ae1afdd409c9c707132e263c74fe4ee95)
Compare: https://github.com/OpenSIPS/opensips/compare/bac954d9caa1...fd46af53bc1e
More information about the Devel
mailing list