| 108 | } |
| 109 | |
| 110 | static inline void profiling_route_exit(struct sip_msg *msg, int route_type, |
| 111 | const char *route_name, const char *file, int line, |
| 112 | int depth, int status) |
| 113 | { |
| 114 | profiling_handlers_t *handlers; |
| 115 | for (handlers = profiling_handlers; handlers; handlers = handlers->next) |
| 116 | if ((handlers->accepted_data_types & PROFILING_DATA_TYPE_SCRIPT) && |
| 117 | handlers->on_exit) |
| 118 | handlers->on_exit(PROFILING_DATA_TYPE_SCRIPT, route_name, |
| 119 | route_type, depth, file, line, status, msg); |
| 120 | } |
| 121 | |
| 122 | static inline int profiling_get_ctx(profiling_ctx_t *ctx) |
| 123 | { |
no outgoing calls
no test coverage detected