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
--
gitgitgadget