Date: Tue, 14 Apr 2015 02:25:02 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 198148] [hwpmc] pmcstat -G doesn't resolve symbols from userland processes Message-ID: <bug-198148-8-d4dR7p5mXi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-198148-8@https.bugs.freebsd.org/bugzilla/> References: <bug-198148-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198148 ganbold@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ganbold@gmail.com --- Comment #3 from ganbold@gmail.com --- I'm running some content filtering software written in Go and did some load on it. I tried pmcstat. As Hiren, I see userland symbols in callgraph like: ... 50.69% [359402] scanblock @ /usr/home/tsgan/go/bin/shuultuur 00.04% [140] net.(*netFD).decref 00.01% [23] os.Lstat 00.00% [13] runtime.netpollinit 00.00% [10] runtime.goexit -- 08.61% [61068] runtime.MSpan_Sweep @ /usr/home/tsgan/go/bin/shuultuur 02.33% [16554] hash/crc32.update @ /usr/home/tsgan/go/bin/shuultuur 00.03% [5] hash/crc32.Update 00.01% [1] reflect.cvtFloatInt 00.01% [1] net/textproto.(*dotReader).Read 00.01% [1] reflect.(*rtype).Implements -- 01.34% [9528] compress/flate.(*decompressor).huffSym @ /usr/home/tsgan/go/bin/shuultuur 01.20% [8515] runtime.readvarint @ /usr/home/tsgan/go/bin/shuultuur 01.43% [122] runtime.step 00.05% [4] runtime.goparkunlock 00.01% [1] net/http.(*persistConn).wroteRequest 00.01% [1] net/http.(*persistConn).markBroken -- 01.10% [7832] code.google.com/p/go.net/html.(*Tokenizer).readByte @ /usr/home/tsgan/go/bin/shuultuur 00.63% [49] code.google.com/p/go.net/html.(*Tokenizer).Next 00.31% [24] code.google.com/p/go.net/html.(*Tokenizer).readScript 00.27% [21] code.google.com/p/go.net/html.(*Tokenizer).readTagAttrVal 00.09% [7] code.google.com/p/go.net/html.(*Tokenizer).skipWhiteSpace -- 01.09% [7697] compress/flate.(*decompressor).huffmanBlock @ /usr/home/tsgan/go/bin/shuultuur 00.01% [1] compress/flate.(*decompressor).huffmanBlock 01.01% [7184] strings.Map @ /usr/home/tsgan/go/bin/shuultuur 00.93% [6613] bitbucket.org/hooray-976/shuultuur/tools/search.(*stringFinder).next @ /usr/home/tsgan/go/bin/shuultuur 00.92% [6488] runtime.step @ /usr/home/tsgan/go/bin/shuultuur 00.62% [40] runtime.pcvalue 00.42% [27] runtime.goparkunlock 00.08% [5] github.com/elazarl/goproxy.func.018 00.03% [2] net/http.(*Server).ListenAndServeTLS -- ... I run FreeBSD current in VMware Fusion: root@bsd:/var/tmp # uname -an FreeBSD bsd 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r269824: Mon Aug 11 20:18:52 UTC 2014 root@grind.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 Maybe it depends from your use case? -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198148-8-d4dR7p5mXi>