]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: add top-level trace2 regions
authorJosh Steadmon <steadmon@google.com>
Thu, 22 Aug 2024 21:57:46 +0000 (14:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Aug 2024 22:02:31 +0000 (15:02 -0700)
commita45ab549879d0f8e2524f820796daf2f6a1f7d00
treebdd415ed4cc14fdb90850bd78bfc7c236b5b26c5
parentcbe140754bc1eb4380ffe820de121e49357a9af8
fetch: add top-level trace2 regions

At $DAYJOB we experienced some slow fetch operations and needed some
additional data to help diagnose the issue.

Add top-level trace2 regions for the various modes of operation of
`git-fetch`. None of these regions are in recursive code, so any
enclosed trace messages should only see their nesting level increase by
one.

Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c
bundle-uri.c