| 252 | |
| 253 | |
| 254 | static inline void profiling_proc_end(enum profiling_proc_level level, |
| 255 | int status) |
| 256 | { |
| 257 | profiling_handlers_t *handlers; |
| 258 | |
| 259 | if (!profiling_proc_level_enabled(level)) |
| 260 | return; |
| 261 | |
| 262 | if (profiling_proc_pending_no) { |
| 263 | profiling_proc_pending_no--; |
| 264 | return; |
| 265 | } |
| 266 | |
| 267 | for (handlers = profiling_handlers; handlers; handlers = handlers->next) |
| 268 | if ((handlers->accepted_data_types & PROFILING_DATA_TYPE_PROC) && |
| 269 | handlers->on_end) |
| 270 | handlers->on_end(PROFILING_DATA_TYPE_PROC, pt[process_no].desc, |
| 271 | pt[process_no].type, proc_depth, status, NULL); |
| 272 | } |
| 273 | |
| 274 | |
| 275 | #define profiling_proc_enter( _level, _name, _with_next ) \ |
no outgoing calls
no test coverage detected