Merge branch 'ks/unit-test-comment-typofix'
[git/gitster.git] / trace2 / tr2_cfg.h
bloba11d71feb5bfb1c0e044ece4dcba6e47d560be2f
1 #ifndef TR2_CFG_H
2 #define TR2_CFG_H
4 /*
5 * Iterate over all config settings and emit 'def_param' events for the
6 * "interesting" ones to TRACE2.
7 */
8 void tr2_cfg_list_config_fl(const char *file, int line);
11 * Iterate over all "interesting" environment variables and emit 'def_param'
12 * events for them to TRACE2.
14 void tr2_list_env_vars_fl(const char *file, int line);
17 * Emit a "def_param" event for the given key/value pair IF we consider
18 * the key to be "interesting".
20 void tr2_cfg_set_fl(const char *file, int line, const char *key,
21 const char *value);
23 void tr2_cfg_free_patterns(void);
25 void tr2_cfg_free_env_vars(void);
27 #endif /* TR2_CFG_H */