FAQ
Is source code required for pprof to function?
When I'm trying to list the source with list .Foo it gives me an error:
Error: open /opt/go/src/github.com/XXX no such file or directory

P.s. running > go tool pprof --cum binary pprof.gz

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Dave Cheney at Jul 29, 2015 at 4:09 am
    Yes, source code is required. Go programs do not embed the source code they were built with, only file paths and line numbers.

    Dave

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Aurelien at Jul 29, 2015 at 8:56 am
    Hi Kane,

    Where do you find the manual for that command?

    Readin https://groups.google.com/forum/#!topic/golang-nuts/k4RwbsIMyOc ,
    https://groups.google.com/forum/#!topic/golang-nuts/k4RwbsIMyOc , or the
    source code itself of pprof.go
    https://groups.google.com/forum/#!topic/golang-nuts/k4RwbsIMyOc I do not
    see anything corresponding to the way of use pprof.


    Aurélien DESBRIÈRES

    On Tuesday, July 28, 2015 at 11:51:40 PM UTC+2, Kane Kim wrote:

    Is source code required for pprof to function?
    When I'm trying to list the source with list .Foo it gives me an error:
    Error: open /opt/go/src/github.com/XXX no such file or directory

    P.s. running > go tool pprof --cum binary pprof.gz
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Kane Kim at Jul 29, 2015 at 4:35 pm
    Thanks, Dave!
    Where do you find the manual for that command?
    Type help in pprof command line.

    On Wednesday, July 29, 2015 at 1:56:04 AM UTC-7, aurelien wrote:

    Hi Kane,

    Where do you find the manual for that command?

    Readin https://groups.google.com/forum/#!topic/golang-nuts/k4RwbsIMyOc ,
    https://groups.google.com/forum/#!topic/golang-nuts/k4RwbsIMyOc , or the
    source code itself of pprof.go
    https://groups.google.com/forum/#!topic/golang-nuts/k4RwbsIMyOc I do not
    see anything corresponding to the way of use pprof.


    Aurélien DESBRIÈRES

    On Tuesday, July 28, 2015 at 11:51:40 PM UTC+2, Kane Kim wrote:

    Is source code required for pprof to function?
    When I'm trying to list the source with list .Foo it gives me an error:
    Error: open /opt/go/src/github.com/XXX no such file or directory

    P.s. running > go tool pprof --cum binary pprof.gz
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Aurelien at Jul 29, 2015 at 7:33 pm

    On Wednesday, July 29, 2015 at 6:35:33 PM UTC+2, Kane Kim wrote:
    Thanks, Dave!
    Where do you find the manual for that command?
    Type help in pprof command line.

    On Wednesday, July 29, 2015 at 1:56:04 AM UTC-7, aurelien wrote:

    Hi Kane,

    Where do you find the manual for that command?

    Readin https://groups.google.com/forum/#!topic/golang-nuts/k4RwbsIMyOc ,
    https://groups.google.com/forum/#!topic/golang-nuts/k4RwbsIMyOc , or the
    source code itself of pprof.go
    https://groups.google.com/forum/#!topic/golang-nuts/k4RwbsIMyOc I do not
    see anything corresponding to the way of use pprof.


    Aurélien DESBRIÈRES

    On Tuesday, July 28, 2015 at 11:51:40 PM UTC+2, Kane Kim wrote:

    Is source code required for pprof to function?
    When I'm trying to list the source with list .Foo it gives me an error:
    Error: open /opt/go/src/github.com/XXX no such file or directory

    P.s. running > go tool pprof --cum binary pprof.gz
    go pprof help ... give nothing back :/

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Nigel Tao at Jul 30, 2015 at 1:02 am

    On Thu, Jul 30, 2015 at 5:33 AM, aurelien wrote:
    go pprof help ... give nothing back :/
    Running
    $ go tool pprof
    will give you some help.

    Separately, once you've started pprof, typing "help" will give more help:
    $ go tool pprof x.prof
    Entering interactive mode (type "help" for commands)
    (pprof) help

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Aurelien at Jul 30, 2015 at 5:46 am
    nice thanks!
    On Thursday, July 30, 2015 at 3:03:17 AM UTC+2, Nigel Tao wrote:

    On Thu, Jul 30, 2015 at 5:33 AM, aurelien <gnu....@gmail.com <javascript:>>
    wrote:
    go pprof help ... give nothing back :/
    Running
    $ go tool pprof
    will give you some help.

    Separately, once you've started pprof, typing "help" will give more help:
    $ go tool pprof x.prof
    Entering interactive mode (type "help" for commands)
    (pprof) help
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJul 28, '15 at 9:51p
activeJul 30, '15 at 5:46a
posts7
users4
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase