[OpenSIPS-Devel] [OpenSIPS/opensips] 2548c3: [profiling] added support for process profiling

Bogdan Andrei IANCU noreply at github.com
Wed Apr 15 13:33:07 UTC 2026


  Branch: refs/heads/feature/proc_profiling
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2548c36b3ba0b46988e25318286d6e91cd07ea0d
      https://github.com/OpenSIPS/opensips/commit/2548c36b3ba0b46988e25318286d6e91cd07ea0d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M ipc.c
    M mi/mi_core.c
    M net/net_udp.c
    M profiling.c
    M profiling.h
    M pt.c
    M pt.h
    M receive.c
    M timer.c

  Log Message:
  -----------
  [profiling] added support for process profiling


  Commit: 4fb17ba4a7d4fdcc9e2bbb2d6502ea108c2f8afb
      https://github.com/OpenSIPS/opensips/commit/4fb17ba4a7d4fdcc9e2bbb2d6502ea108c2f8afb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M async.c
    M async.h
    M modules/aaa_diameter/aaa_diameter.c
    M modules/aaa_radius/aaa_radius.c
    M modules/auth_aka/auth_aka.c
    M modules/cfgutils/cfgutils.c
    M modules/cgrates/cgrates_common.c
    M modules/event_routing/event_routing.c
    M modules/exec/exec_mod.c
    M modules/ldap/ldap_exp_fn.c
    M modules/mi_script/mi_script.c
    M modules/rest_client/rest_client.c
    M modules/rtpengine/rtpengine.c
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  [profiling] extend async_ctx to keep the literal version of the resume function

We need this info for profiling purposes


  Commit: 9bdd4813b7bef47f92e60bb6c7fab7317dbabc6a
      https://github.com/OpenSIPS/opensips/commit/9bdd4813b7bef47f92e60bb6c7fab7317dbabc6a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M profiling.h

  Log Message:
  -----------
  [profiling] added the sss_merge256() function


  Commit: 2ffbe85c72fba9495b027ec34b53b9cd7de2eb08
      https://github.com/OpenSIPS/opensips/commit/2ffbe85c72fba9495b027ec34b53b9cd7de2eb08
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M modules/sqlops/sqlops_impl.c

  Log Message:
  -----------
  [profiling] part of 33300cba06eeef7ebb37255097460906996b6cd6


  Commit: e9d2579a7b76dae56654b4d64b1b87798c492a34
      https://github.com/OpenSIPS/opensips/commit/e9d2579a7b76dae56654b4d64b1b87798c492a34
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M async.c
    M modules/tm/async.c

  Log Message:
  -----------
  [profiling] detailed profiling for all types of async resume


  Commit: 9243484e3b41d199ec2d90540b8d66e74f4e9f34
      https://github.com/OpenSIPS/opensips/commit/9243484e3b41d199ec2d90540b8d66e74f4e9f34
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M net/net_tcp.c
    M net/net_tcp_proc.c
    M net/net_udp.c

  Log Message:
  -----------
  [profiling] complet profiling on UDP and TCP net processes


  Commit: ecb7ff1ab8b44ef626d5bdbcec66d85c9646bfcc
      https://github.com/OpenSIPS/opensips/commit/ecb7ff1ab8b44ef626d5bdbcec66d85c9646bfcc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M profiling.h

  Log Message:
  -----------
  [profiling] allow with_next also upper on the stack


  Commit: b6bac8ef64f53ec8ef38bf1b4f4019914d827221
      https://github.com/OpenSIPS/opensips/commit/b6bac8ef64f53ec8ef38bf1b4f4019914d827221
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M receive.c

  Log Message:
  -----------
  [profiling] added silent profiling for request pre script callbacks

Silent means if no profiling is done inside a callback (further), to profiling for the overall callback is not reported


  Commit: fc6c47d055cd1e7b922ba2b31f91579bb0191374
      https://github.com/OpenSIPS/opensips/commit/fc6c47d055cd1e7b922ba2b31f91579bb0191374
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M modules/tm/t_reply.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  [tm] added proc profiling support

Do profiling for the received_reply function which is directly called by core.
Also added helper macro to wrap profiling functions around TM API calls.


  Commit: 622ec3a999d05d6733d420e1fceda338f48a80ea
      https://github.com/OpenSIPS/opensips/commit/622ec3a999d05d6733d420e1fceda338f48a80ea
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M modules/b2b_entities/client.c
    M modules/b2b_entities/dlg.c
    M modules/callops/callops.c
    M modules/dialog/dlg_req_within.c
    M modules/dispatcher/dispatch.c
    M modules/drouting/drouting.c
    M modules/emergency/emergency_methods.c
    M modules/emergency/notifier_emergency.c
    M modules/emergency/subscriber_emergency.c
    M modules/imc/imc_cmd.c
    M modules/jabber/xjab_worker.c
    M modules/load_balancer/lb_prober.c
    M modules/media_exchange/media_exchange.c
    M modules/mid_registrar/ulcb.c
    M modules/msilo/msilo.c
    M modules/msrp_gateway/msrp_gateway.c
    M modules/osp/cnam.c
    M modules/presence/notify.c
    M modules/proto_smpp/smpp.c
    M modules/pua/pua.c
    M modules/pua/send_publish.c
    M modules/pua/send_subscribe.c
    M modules/rls/notify.c
    M modules/signaling/signaling.c
    M modules/uac_registrant/registrant.c
    M modules/xmpp/xmpp.c

  Log Message:
  -----------
  [profiling] use profiling whenever the important TM API funcs are called

the functions : t_reply, t_reply_with_body, t_reply_unsafe, t_request_within, t_request_outside, t_request, t_cancel_trans


Compare: https://github.com/OpenSIPS/opensips/compare/89149094a7b4...622ec3a999d0

To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list