You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An "inprogress" eventlog throws an JSON exception that causes the entire application to be skipped.
We should ignore incomplete json files hopefully to do a best effort in gathering the events that we have.
Steps/Code to reproduce bug
generate an eventlog
modify the eventlog by removing some few characters from the tail
Run the profiler on the modified file, it will not be able to analyze the app. The app will be considered as N/A
Expected behavior
Show a warning message for unexpected Json EOF instead of throwing an exception.
At least the user is informed that the eventlog is incomplete.
The text was updated successfully, but these errors were encountered:
Signed-off-by: Ahmed Hussein (amahussein) <[email protected]>
FixesNVIDIA#685
* Added feature: support parsing of "inprogress" eventlogs
* Catches exception thrown by Json Parser when an unexpected EOF occurs
* Support parsing of inprogress eventlogs
Fixes#685
* Added feature: support parsing of "inprogress" eventlogs
* Catches exception thrown by Json Parser when an unexpected EOF occurs
---------
Signed-off-by: Ahmed Hussein (amahussein) <[email protected]>
Describe the bug
An "inprogress" eventlog throws an JSON exception that causes the entire application to be skipped.
We should ignore incomplete json files hopefully to do a best effort in gathering the events that we have.
Steps/Code to reproduce bug
Expected behavior
Show a warning message for unexpected Json EOF instead of throwing an exception.
At least the user is informed that the eventlog is incomplete.
The text was updated successfully, but these errors were encountered: