Squashed 'third_party/git/' content from commit cb71568594
git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7
This commit is contained in:
commit
1b593e1ea4
3629 changed files with 1139935 additions and 0 deletions
36
trace2/tr2_sysenv.h
Normal file
36
trace2/tr2_sysenv.h
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#ifndef TR2_SYSENV_H
|
||||
#define TR2_SYSENV_H
|
||||
|
||||
/*
|
||||
* The Trace2 settings that can be loaded from /etc/gitconfig
|
||||
* and/or user environment variables.
|
||||
*
|
||||
* Note that this set does not contain any of the transient
|
||||
* environment variables used to pass information from parent
|
||||
* to child git processes, such "GIT_TRACE2_PARENT_SID".
|
||||
*/
|
||||
enum tr2_sysenv_variable {
|
||||
TR2_SYSENV_CFG_PARAM = 0,
|
||||
|
||||
TR2_SYSENV_DST_DEBUG,
|
||||
|
||||
TR2_SYSENV_NORMAL,
|
||||
TR2_SYSENV_NORMAL_BRIEF,
|
||||
|
||||
TR2_SYSENV_EVENT,
|
||||
TR2_SYSENV_EVENT_BRIEF,
|
||||
TR2_SYSENV_EVENT_NESTING,
|
||||
|
||||
TR2_SYSENV_PERF,
|
||||
TR2_SYSENV_PERF_BRIEF,
|
||||
|
||||
TR2_SYSENV_MUST_BE_LAST
|
||||
};
|
||||
|
||||
void tr2_sysenv_load(void);
|
||||
|
||||
const char *tr2_sysenv_get(enum tr2_sysenv_variable);
|
||||
const char *tr2_sysenv_display_name(enum tr2_sysenv_variable var);
|
||||
void tr2_sysenv_release(void);
|
||||
|
||||
#endif /* TR2_SYSENV_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue