* Load Trace2 settings from the system config (usually "/etc/gitconfig" * unless we were built with a runtime-prefix). These are intended to * define the default values for Trace2 as requested by the administrator. * * Then override with the Trace2 settings from the global config. */
| 89 | * Then override with the Trace2 settings from the global config. |
| 90 | */ |
| 91 | void tr2_sysenv_load(void) |
| 92 | { |
| 93 | if (ARRAY_SIZE(tr2_sysenv_settings) != TR2_SYSENV_MUST_BE_LAST) |
| 94 | BUG("tr2_sysenv_settings size is wrong"); |
| 95 | |
| 96 | read_very_early_config(tr2_sysenv_cb, NULL); |
| 97 | } |
| 98 | |
| 99 | /* |
| 100 | * Return the value for the requested Trace2 setting from these sources: |
no test coverage detected