Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7538d0365249a320411ac62b666253e7e5a6de9b
      
https://github.com/OpenSIPS/opensips/commit/7538d0365249a320411ac62b666253e7e5a6de9b
  Author: Liviu Chircu <li...@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-*



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to