Skip to content

PerfCollect does not collect all trace #1565

Answered by brianrob
mallikarjunraju asked this question in Q&A
Discussion options

You must be logged in to vote

You are very close. The key is that these commands must be run in the same shell that starts the app, so that the app gets these environment variables set in its environment:

export COMPlus_PerfMapEnabled=1
export COMPlus_EnableEventLog=1
export COMPlus_ZapDisable=1

These environment variables control runtime behavior and not perfcollect behavior.

As far as dotnet-trace what you are showing looks right to me. One of the big differences for dotnet-trace is that it only shows managed frames, and so you shouldn't expect to see any native or runtime stack frames there.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mallikarjunraju
Comment options

@mallikarjunraju
Comment options

@mallikarjunraju
Comment options

@brianrob
Comment options

Answer selected by mallikarjunraju
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants