trace2: load trace2 settings from system config
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest11 patches 2 repliesIn review
- v410 patches 2 repliesSuperseded
- v310 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 7 patches | 10 replies | Superseded | |
| v1 | 4 patches | 3 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | config: initialize opts structure in repo_read_config()config.c | +1 | 0 replies | |
| 2/11 | trace2: refactor setting process starting timeDocumentation/ common-main.c compat/ +4 more | +67 | 0 replies | |
| 3/11 | trace2: add absolute elapsed time to start eventDocumentation/ t/ trace2.c +4 more | +30 | 0 replies | |
| 4/11 | trace2: find exec-dir before trace2 initializationcommon-main.c | +2 | 0 replies | |
| 5/11 | config: add read_very_early_config()config.c config.h | +24 | 0 replies | |
| 6/11 | trace2: use system/global config for default trace2 settingsMakefile t/ t/ +11 more | +340 | 0 replies | |
| 7/11 | trace2: report peak memory usage of the processcommon-main.c compat/ trace2.c +1 more | +60 | 0 replies | |
| 8/11 | trace2: clarify UTC datetime formattingDocumentation/ trace2/ trace2/ +1 more | +11 | 0 replies | |
| 9/11 | trace2: make SIDs more uniqueDocumentation/ trace2/ trace2/ +1 more | +73 | 0 replies | |
| 10/11 | trace2: update docs to describe system/global config settingsDocumentation/ Documentation/ Documentation/ +1 more | +152 | 0 replies | |
| 11/11 | trace2: fixup access problem on /etc/gitconfig in read_very_early_configconfig.c config.h | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 00/11] trace2: load trace2 settings from system config
Version 4 fixes a few clang-format warnings and simplifies the PID field in the SID.
Jeff Hostetler (11):
config: initialize opts structure in repo_read_config()
trace2: refactor setting process starting time
trace2: add absolute elapsed time to start event
trace2: find exec-dir before trace2 initialization
config: add read_very_early_config()
trace2: use system/global config for default trace2 settings
trace2: report peak memory usage of the process
trace2: clarify UTC datetime formatting
trace2: make SIDs more unique
trace2: update docs to describe system/global config settings
trace2: fixup access problem on /etc/gitconfig in
read_very_early_config
Documentation/config.txt | 2 + Documentation/config/trace2.txt | 56 ++++++++ Documentation/technical/api-trace2.txt | 176 +++++++++++++---------- Documentation/trace2-target-values.txt | 10 ++ Makefile | 1 + common-main.c | 8 +- compat/mingw.c | 2 + compat/win32/trace2_win32_process_info.c | 50 ++++++- config.c | 30 +++- config.h | 5 + t/t0210-trace2-normal.sh | 49 ++++++- t/t0211-trace2-perf.sh | 43 ++++-- t/t0212-trace2-event.sh | 42 +++++- trace2.c | 21 ++- trace2.h | 43 ++++-- trace2/tr2_cfg.c | 7 +- trace2/tr2_dst.c | 26 ++-- trace2/tr2_dst.h | 3 +- trace2/tr2_sid.c | 53 ++++++- trace2/tr2_sysenv.c | 127 ++++++++++++++++ trace2/tr2_sysenv.h | 36 +++++ trace2/tr2_tbuf.c | 19 ++- trace2/tr2_tbuf.h | 5 +- trace2/tr2_tgt.h | 1 + trace2/tr2_tgt_event.c | 53 +++---- trace2/tr2_tgt_normal.c | 19 +-- trace2/tr2_tgt_perf.c | 23 +-- trace2/tr2_tls.c | 38 +++-- trace2/tr2_tls.h | 8 +- 29 files changed, 752 insertions(+), 204 deletions(-) create mode 100644 Documentation/config/trace2.txt create mode 100644 Documentation/trace2-target-values.txt create mode 100644 trace2/tr2_sysenv.c create mode 100644 trace2/tr2_sysenv.h
base-commit: 041f5ea1cf987a4068ef5f39ba0a09be85952064
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-169%2Fjeffhostetler%2Fcore-tr2-startup-and-sysenv-v5
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-169/jeffhostetler/core-tr2-startup-and-sysenv-v5
Pull-Request: https://github.com/gitgitgadget/git/pull/169
Range-diff vs v4:
1: f6653f1c59 = 1: f6653f1c59 config: initialize opts structure in repo_read_config() 2: 48e34834b6 = 2: 48e34834b6 trace2: refactor setting process starting time 3: 175371fb54 = 3: 175371fb54 trace2: add absolute elapsed time to start event 4: 94729b284c = 4: 94729b284c trace2: find exec-dir before trace2 initialization 5: b0fe1385f1 = 5: b0fe1385f1 config: add read_very_early_config() 6: 550cad6189 = 6: 550cad6189 trace2: use system/global config for default trace2 settings 7: 56d8ce3fd6 = 7: 56d8ce3fd6 trace2: report peak memory usage of the process 8: 196a9d2c85 = 8: 196a9d2c85 trace2: clarify UTC datetime formatting 9: 9fdcb50140 = 9: 9fdcb50140 trace2: make SIDs more unique 10: 3414016d04 = 10: 3414016d04 trace2: update docs to describe system/global config settings -: ---------- > 11: 18ce795360 trace2: fixup access problem on /etc/gitconfig in read_very_early_config
Signature · 1 line
gitgitgadget