forked from git-for-windows/git
-
Notifications
You must be signed in to change notification settings - Fork 106
[WIP] [do not merge] Merge Trace2 part v2 into 2.20.1 #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
jeffhostetler
wants to merge
23
commits into
microsoft:vfs-2.20.1
from
jeffhostetler:gvfs-trace2-v2-2201
Closed
[WIP] [do not merge] Merge Trace2 part v2 into 2.20.1 #99
jeffhostetler
wants to merge
23
commits into
microsoft:vfs-2.20.1
from
jeffhostetler:gvfs-trace2-v2-2201
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* let common-main call trace2_cmd_exit * add subverb event * clarify exec/exec_result events * add trace2_is_enabled() * split cmd_start out of initialize Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Trace2 adds GIT_TR2_PARENT_SID and GIT_TR2_PARENT_VERB to the environment for child processes to inherit. Exclude them from the test. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Add platform-specific "data" events with information about the current process. On Windows, this includes whether git.exe is running under a debugger and information about the process ancestors. This lets post-processors know if git.exe was launched interactively or in the background by an IDE or GVFS daemon, for example. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Extend verb event from a git process to include verb
information about its parent git processes.
For example, when "git fetch" launches a child "git gc",
command, the child process will emit a verb message
containing:
"name":"gc",
"hierarchy":"fetch/gc",
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Author
|
abandoning this in favor of squashed/refactored version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch series includes additional (v2) trace2 features since jeffhostetler/gvfs-trace2-v1
was merged into the v2.19.1 version of VFS4G. The purpose of this PR is to get CI testing
on all 3 platforms.
Many of the commits in this series are marked as "fix" or "fixup". These will be combined
and squashed with V1 Trace2 commits when the series is sent to upstream.
TODO
[] More unit tests
[] Trace2 design documentation