Skip to content

Empty SCC annotations makes profiling tools fail #577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fpringle opened this issue Apr 10, 2024 · 2 comments
Closed

Empty SCC annotations makes profiling tools fail #577

fpringle opened this issue Apr 10, 2024 · 2 comments

Comments

@fpringle
Copy link

The SCC annotation "" in Network.Socket.Shutdown leads to profiling output with a cost centre name. This will cause the ghc-prof profile parser to fail, which in turn affects tools depending on ghc-prof such as profiteur, profiterole and ghcprofview.

Example .prof output:

gracefulClose  Network.Socket.Shutdown   Network/Socket/Shutdown.hs:(50,1)-(78,18)       63947           0    0.0    0.0     0.0    0.0
               Network.Socket.Shutdown   Network/Socket/Shutdown.hs:60:34-48             63948           0    0.0    0.0     0.0    0.0
@kazu-yamamoto
Copy link
Collaborator

Thanks.
This SCC was included accidently.
I will remove it in the next version.

@kazu-yamamoto
Copy link
Collaborator

Fixed via 0505db5.
This will be included the next major version (v3.2) which will be released soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants