diff --git a/ProfileWriter.cs b/ProfileWriter.cs index 83578d6..f1e3878 100644 --- a/ProfileWriter.cs +++ b/ProfileWriter.cs @@ -114,7 +114,7 @@ public void AddSample(ICpuSample sample) } string processName = sample.Process.ImageName; string threadLabel = sample.Thread?.Name; - if (threadLabel == null || threadLabel == "") + if (threadLabel == null || threadLabel == "" || threadLabel.StartsWith("0x")) threadLabel = "anonymous thread"; if (options.includeProcessAndThreadIds) {