MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / profiling_route_enter

Function profiling_route_enter

profiling.h:98–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98static inline void profiling_route_enter(struct sip_msg *msg, int route_type,
99 const char *route_name, const char *file, int line,
100 int depth)
101{
102 profiling_handlers_t *handlers;
103 for (handlers = profiling_handlers; handlers; handlers = handlers->next)
104 if ((handlers->accepted_data_types & PROFILING_DATA_TYPE_SCRIPT) &&
105 handlers->on_enter)
106 handlers->on_enter(PROFILING_DATA_TYPE_SCRIPT, route_name,
107 route_type, depth, file, line, msg);
108}
109
110static inline void profiling_route_exit(struct sip_msg *msg, int route_type,
111 const char *route_name, const char *file, int line,

Callers 2

run_top_routeFunction · 0.85
do_actionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected