Is it possible to profile only certain packages using GHC's profiler?

Viewed 40

Is it possible to only generate cost-centres for functions defined in certain packages? I'm not sure if this question actually makes sense from a technical viewpoint, in that case please enlighten me. What I'm interested in, essentially, is to get profiler output that only shows cost-centres for bindings in my own packages. Is this possible?

Alternatively I'd like to be able exclude cost-centres from some packages. Is this possible?

0 Answers
Related