[Bug 198147] [hwpmc] running pmcstat -t (top mode) whilst a process is running doesn't resolve the symbols correctly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 14 03:33:06 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198147

ganbold at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ganbold at gmail.com

--- Comment #1 from ganbold at gmail.com ---
I tried to run pmcstat in top mode after starting specific program. pmcstat
seems show userland symbols like:

PMC: [INSTR_RETIRED_ANY] Samples: 17452 (100.0%) , 207 unresolved

%SAMP IMAGE      FUNCTION             CALLERS
 42.4 shuultuur  scanblock
  7.3 shuultuur  runtime.MSpan_Sweep
  3.0 shuultuur  code.google.com/p/go
  2.8 shuultuur  hash/crc32.update
  2.6 shuultuur  runtime.readvarint
  2.0 shuultuur  runtime.step
  2.0 shuultuur  strings.Map
  1.4 shuultuur  runtime.findfunc
  1.4 shuultuur  runtime.stringiter2
  1.3 shuultuur  compress/flate.(*dec
  1.3 shuultuur  unicode.ToLower
  1.1 shuultuur  compress/flate.(*dec
  1.1 shuultuur  runtime.memmove
  1.1 shuultuur  runtime.mallocgc
  1.1 shuultuur  runtime.pcvalue
  0.8 shuultuur  unicode.to
  0.7 shuultuur  compress/flate.(*dec
  0.7 kernel     trash_ctor
  0.7 shuultuur  runtime.gentraceback
  0.7 shuultuur  code.google.com/p/go
  0.6 shuultuur  code.google.com/p/go
  0.6 shuultuur  bufio.(*Reader).Read
  0.6 kernel     witness_unlock
  0.5 kernel     trash_dtor
  0.5 shuultuur  main.func.001
  0.5 shuultuur  code.google.com/p/go
...

Can you show some sample ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list