Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Sollich <petersol@microsoft.com>2021-05-13 11:43:11 +0300
committerGitHub <noreply@github.com>2021-05-13 11:43:11 +0300
commit1b09a384f29eafd98ec6bcb2d9e6fc820c9db801 (patch)
treebae43a70c927a107d3251960fc88a24024d28bbf /src/coreclr/tools
parentdb3784c30ce2ff3a71b0d5b83ddda59a2a9bfd63 (diff)
Stresslog fixes (#52601)
- Make regular (non-memory-mapped file based) stresslog work for clrgc.dll - Fix interaction issue between GC and thread filters in StressLogAnalyzer - Interpret small numbers for COMPlus_StressLogSize and COMPlus_TotalStressLogSize as GB rather than bytes - Increment SOS_BREAKING_CHANGE_VERSION
Diffstat (limited to 'src/coreclr/tools')
-rw-r--r--src/coreclr/tools/StressLogAnalyzer/StressLogPlugin/StressLogPlugin.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/coreclr/tools/StressLogAnalyzer/StressLogPlugin/StressLogPlugin.cpp b/src/coreclr/tools/StressLogAnalyzer/StressLogPlugin/StressLogPlugin.cpp
index 3c0086a07b1..8b4efa8aa38 100644
--- a/src/coreclr/tools/StressLogAnalyzer/StressLogPlugin/StressLogPlugin.cpp
+++ b/src/coreclr/tools/StressLogAnalyzer/StressLogPlugin/StressLogPlugin.cpp
@@ -252,6 +252,16 @@ static bool s_printEarliestMessageFromGcThread[MAX_NUMBER_OF_HEAPS][2];
static bool FilterThread(ThreadStressLog* tsl)
{
// return tsl->threadId == 0x6ff8;
+
+ if (s_gcFilterStart != 0)
+ {
+ // we have a filter based on a GC index
+ // include all message for now so we don't miss any
+ // GC start/end messages
+ // we will throw away message for other threads later
+ return true;
+ }
+
if (s_hadGcThreadFilters)
{
GcThread gcThread;