| 87 | } |
| 88 | |
| 89 | void trace_disable(struct trace_key *key) |
| 90 | { |
| 91 | if (key->need_close) |
| 92 | close(key->fd); |
| 93 | key->fd = 0; |
| 94 | key->initialized = 1; |
| 95 | key->need_close = 0; |
| 96 | } |
| 97 | |
| 98 | static int prepare_trace_line(const char *file, int line, |
| 99 | struct trace_key *key, struct strbuf *buf) |
no outgoing calls
no test coverage detected