Skip to content

how to get native call stack and how to get how many times a method is called ? #2163

Answered by jander-msft
birojnayak asked this question in Q&A
Discussion options

You must be logged in to vote

I understand that dotnet-trace can't do native callstack and recommend way is LTTng for Linux

Could you elaborate on what you are requesting? Are you ask for nettrace (the standard output format of dotnet-trace) to include native stack frames when stack information is gathered for each event? Or are you looking for a general mechanism of capturing stack information at a given point in time. If the latter, we plan to add a /stack(s) route to the dotnet-monitor tool to collect the stack frames of a target process. These may include native stack frames (I'll have to check the current implementation that is being developed at this time).

Secondly, how to get JIT related info ? e:g:- how ma…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jander-msft
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