Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

perfview System.FormatException when viewing CPU stacks section in perfview collected from Kubernetes POD #95

Closed
paraspatidar opened this issue Mar 5, 2019 · 4 comments

Comments

@paraspatidar
Copy link

Hi,
I am running dotnet core (2.2.2) process on K8 pod with elevated rights and could do a perf collect without any issue and trace is created as well as CPU stack (perf.data.txt) is created.

However , when coping to windows and opening the CPU stack , it fails with exception :

System.FormatException: Input string was not in a correct format

this happens when we do
`sudo ./perfcollect collect sample'

however if we pass on the process id (-pid param) , then CPU traces doesnt gather at all as mentioned in another issue :
#84
&

https://github.com/dotnet/coreclr/issues/18452

this format issue was said to be fixed in microsoft/perfview#166
but i am using perfview 2.0.26 and facing this issue.
here is sample trace :
https://drive.google.com/file/d/1eyQWCIAefVyCCp0zm5vCSr0f0Jp99EGC/view?usp=sharing

@sywhang
Copy link
Contributor

sywhang commented Mar 6, 2019

cc @vancem

Vance, should we move this issue to the PerfView repo?

@vancem
Copy link

vancem commented Mar 6, 2019

Yes, go head and do that.

@vancem
Copy link

vancem commented Mar 6, 2019

This is being fixed by microsoft/perfview#890

@vancem
Copy link

vancem commented Mar 18, 2019

I am closing this as the fix has been checked into the PerfView repo. Note that a release with that fix has not yet happened (but you can build PerfView yourself if desired).

@vancem vancem closed this as completed Mar 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants