dotnet / dotnet/diagnostics

dotnet-trace always detects 100% CPU usage

Open
#3,554 5 comments 0 reactions 0 assignees View on GitHub
documentation dotnet-trace
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 3h
Merged PRs (30d)
38

Description

Hello, I don’t know if my question is a bug or incorrect use of the utility, but the fact is that it always shows 100% load in reports when in fact it is not.

**Steps:**
1. check "top" command and see 0%-24%
![top](https://user-images.githubusercontent.com/10233486/207554245-74bb9bd3-a7a1-4715-a33b-ea147f0d725f.png)
2. run "dotnet-trace collect -p 1205 --duration 00:00:00:30" command and see report in VS2022, 100% always
![dotnet-trace report](https://user-images.githubusercontent.com/10233486/207554799-741a7d20-c87b-4769-8a3a-e97070459dc4.png)
I would appreciate any help to fix this. I want accurate results.

**System:**
4 core + 8gb ram
Ubuntu 20.04.5 LTS
.net 6.0.12 sdk + runtime
dotnet-trace 6.0.351802

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.