| 96 | } |
| 97 | |
| 98 | static 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 | |
| 110 | static inline void profiling_route_exit(struct sip_msg *msg, int route_type, |
| 111 | const char *route_name, const char *file, int line, |
no outgoing calls
no test coverage detected