Closed
Description
There is an open issue on conprof (a continuous profiling project), discussing how there could be support for fgprof
. It more generally started a discussion around custom/non-built-in profiles.
I haven't had a chance to dig into the fgprof
code a lot yet, but looking at the bits and pieces involved, it appears that if profiles are created using the pprof.NewProfile function, then they are automatically included in profiles returned by pprof.Profiles()
, which is what the /debug/pprof
index page calls to retrieve the list of available profiles.
I'll try to understand the code more and see if this is possible, but maybe you can tell directly off the top of your head, and whether if possible this is something you would accept a patch for? :)
Metadata
Metadata
Assignees
Labels
No labels