[OpenSIPS-Devel] [OpenSIPS/opensips] 7538d0: Add optional profiling hooks, using libgoogle-perf...
Liviu Chircu
noreply at github.com
Thu Feb 2 13:56:20 UTC 2023
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 7538d0365249a320411ac62b666253e7e5a6de9b
https://github.com/OpenSIPS/opensips/commit/7538d0365249a320411ac62b666253e7e5a6de9b
Author: Liviu Chircu <liviu at opensips.org>
Date: 2023-02-02 (Thu, 02 Feb 2023)
Changed paths:
M Makefile.conf.template
M Makefile.defs
A lib/dbg/profiling.h
M main.c
M pt.c
M shutdown.c
Log Message:
-----------
Add optional profiling hooks, using libgoogle-perftools
To enable the profiling hooks for a new OpenSIPS build, just:
* install libgoogle-perftools-dev and libgoogle-perftools4
* enable -DPROFILING under Makefile.conf
Finally, install the latest "pprof" Golang package, kill OpenSIPS and
visualize the output profiling data using, for example:
pprof --pdf opensips gperf-*
More information about the Devel
mailing list