Couldn't read the profile (JSON deserialization error)
See original GitHub issueI’m getting
Error: Unserializing the profile failed: SyntaxError: Unexpected token r in JSON at position 11
when dragging/picking a file named test.perf
whose first 100 lines are in this gist: https://gist.github.com/fasterthanlime/18b5932133186598c26f0e335d8fa1aa
the file was generated via perf record stuff
&& perf script -F +pid > test.perf
context: originally came from https://www.reddit.com/r/rust/comments/vyb9rt/comment/ig14wa2/?utm_source=reddit&utm_medium=web2x&context=3
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Couldn't read the profile (JSON deserialization error)
I'm getting. Error: Unserializing the profile failed: SyntaxError: Unexpected token r in JSON at position 11.
Read more >c# - Error when deserializing JSON to Object - Stack Overflow
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is...
Read more >Solved: HubSpot Community - Response deserialization error
Solved: I am attempting to display a card under contacts using the CRM Extensions API but getting a Response deserialization error. This is...
Read more >Rover CLI error codes - Apollo GraphQL Docs
This error occurs when the expected JSON response from a GraphQL endpoint can't be deserialized. This is most likely caused by an invalid...
Read more >API: Error deserializing from error response #591 - GitHub
Describe the bug I am attempting to get the real time sync to work ... The data couldn't be read because it isn't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh, I missed this comment.
It looks like we have #2166 open for this format. So yes, it’s something we’d like to support, but nobody has done the work yet.
I’m currently working on a fork of not-perf which outputs the Firefox profiler format. I’ll let you know once I’ve published it on github.
I’ve pushed the Linux profile recording code into the repo and published a version of
samply
with it.I’m going to write up my plans in the repo, when I get a chance.