Skip to content

Conversation

@wiktork
Copy link
Member

@wiktork wiktork commented Nov 29, 2022

Summary

Add support for thread names in the callstack artifact.

Release Notes Entry

@wiktork wiktork requested a review from a team as a code owner November 29, 2022 21:32
@wiktork wiktork added the update-release-notes Pull requests that should be mentioned in the release notes label Nov 29, 2022
@wiktork wiktork force-pushed the dev/wiktork/threadNames branch from 51cfb8a to 5ac1855 Compare December 1, 2022 20:22
jander-msft
jander-msft previously approved these changes Dec 1, 2022
jander-msft
jander-msft previously approved these changes Dec 1, 2022
@wiktork wiktork merged commit 1e0b9f4 into dotnet:main Dec 2, 2022
@wiktork wiktork added the servicing-minor Servicing fixes that is targeted for a minor release (0.x.0 version) label Dec 2, 2022
@wiktork
Copy link
Member Author

wiktork commented Dec 2, 2022

/backport to release/7.x

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2022

Started backporting to release/7.x: https://github.com/dotnet/dotnet-monitor/actions/runs/3598533708

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2022

@wiktork backporting to release/7.x failed, the patch most likely resulted in conflicts.

Please backport manually using one of the below commands, followed by git am --continue once the merge conflict has been resolved.

PowerShell

(Invoke-WebRequest "https://github.com/dotnet/dotnet-monitor/commit/1e0b9f4adce7222327ea033d55478d36384fb330.patch").Content | git am --3way --ignore-whitespace --exclude="documentation/**.md" --keep-non-patch

Bash

curl -sSL "https://github.com/dotnet/dotnet-monitor/commit/1e0b9f4adce7222327ea033d55478d36384fb330.patch" | git am --3way --ignore-whitespace --exclude="documentation/**.md" --keep-non-patch

git am error output:

$ git am --3way --ignore-whitespace --exclude="documentation/**.md" --keep-non-patch changes.patch

Applying: Add support for thread names stack artifacts. (#2941)
Using index info to reconstruct a base tree...
A	src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/SpeedScopeStacksFormatter.cs
M	src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/StacksFormatter.cs
M	src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/TextStacksFormatter.cs
M	src/MonitorProfiler/CMakeLists.txt
M	src/MonitorProfiler/MainProfiler/MainProfiler.cpp
M	src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/StacksTests.cs
Falling back to patching base and 3-way merge...
Auto-merging src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/StacksTests.cs
CONFLICT (content): Merge conflict in src/Tests/Microsoft.Diagnostics.Monitoring.Tool.FunctionalTests/StacksTests.cs
Auto-merging src/MonitorProfiler/MainProfiler/MainProfiler.cpp
Auto-merging src/MonitorProfiler/CMakeLists.txt
CONFLICT (content): Merge conflict in src/MonitorProfiler/CMakeLists.txt
Auto-merging src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/TextStacksFormatter.cs
Auto-merging src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/StacksFormatter.cs
CONFLICT (modify/delete): src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/SpeedScopeStacksFormatter.cs deleted in HEAD and modified in Add support for thread names stack artifacts. (#2941). Version Add support for thread names stack artifacts. (#2941) of src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/SpeedScopeStacksFormatter.cs left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Add support for thread names stack artifacts. (#2941)
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

@wiktork
Copy link
Member Author

wiktork commented Dec 2, 2022

/backport to release/7.x

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2022

Started backporting to release/7.x: https://github.com/dotnet/dotnet-monitor/actions/runs/3603587041

github-actions bot added a commit that referenced this pull request Dec 2, 2022
* Add support for thread names stack artifacts.

* Pr feedback

* Fix formatting for empty names

* Skip unstable test.

* Update src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/StacksFormatter.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wiktork added a commit that referenced this pull request Dec 2, 2022
* Add support for thread names stack artifacts.

* Pr feedback

* Fix formatting for empty names

* Skip unstable test.

* Update src/Microsoft.Diagnostics.Monitoring.WebApi/Stacks/StacksFormatter.cs

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Co-authored-by: Wiktor Kopec <wiktork@microsoft.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jander-msft jander-msft removed the servicing-minor Servicing fixes that is targeted for a minor release (0.x.0 version) label Dec 13, 2022
@jander-msft jander-msft added the experimental-feature Pull requests that are focused on an experimental feature label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

experimental-feature Pull requests that are focused on an experimental feature update-release-notes Pull requests that should be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants