t/t0211-trace2-perf.sh: fix typo patern -> pattern
[alt-git.git] / diagnose.h
blob7a4951a7863bcea8ac37e2d40d656b794f9bc925
1 #ifndef DIAGNOSE_H
2 #define DIAGNOSE_H
4 #include "strbuf.h"
5 #include "parse-options.h"
7 enum diagnose_mode {
8 DIAGNOSE_NONE,
9 DIAGNOSE_STATS,
10 DIAGNOSE_ALL
13 int option_parse_diagnose(const struct option *opt, const char *arg, int unset);
15 int create_diagnostics_archive(struct strbuf *zip_path, enum diagnose_mode mode);
17 #endif /* DIAGNOSE_H */