When having open-source Go libraries their code local and running pprof
, how could you actually ask pprof
to inspect the source of those packages too?
I want to look into the Get
call of the sessions
library, which then goes into Gorilla's sessions
.
This is, obviously, the output:
(pprof) list sessions
Total: 7.73s
No source information for github.com/gin-gonic/contrib/sessions.(*session).Get
No source information for github.com/gin-gonic/contrib/sessions.(*session).Session
No source information for github.com/gin-gonic/contrib/sessions.Sessions.func1
(pprof)