summaryrefslogtreecommitdiff
path: root/common-main.c
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2019-02-22 22:25:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-22 23:27:59 (GMT)
commit353d3d77f4fdd1582e3b60824deebca27c7b2790 (patch)
treef5d5aa0bd3da34c5266fdc4e9b4a67573903eca5 /common-main.c
parentee4512ed481a126dadd33334186e0e759d7f2f47 (diff)
downloadgit-353d3d77f4fdd1582e3b60824deebca27c7b2790.zip
git-353d3d77f4fdd1582e3b60824deebca27c7b2790.tar.gz
git-353d3d77f4fdd1582e3b60824deebca27c7b2790.tar.bz2
trace2: collect Windows-specific process information
Add platform-specific interface to log information about the current process. On Windows, this interface is used to indicate whether the git process is running under a debugger and list names of the process ancestors. Information for other platforms is left for a future effort. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'common-main.c')
-rw-r--r--common-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common-main.c b/common-main.c
index 6dbdc4a..d484aec 100644
--- a/common-main.c
+++ b/common-main.c
@@ -37,6 +37,7 @@ int main(int argc, const char **argv)
trace2_initialize();
trace2_cmd_start(argv);
+ trace2_collect_process_info();
git_resolve_executable_dir(argv[0]);