[Bug 198148] [hwpmc] pmcstat -G doesn't resolve symbols from userland processes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 5 06:05:02 UTC 2015


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

Hiren Panchasara <hiren at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hiren at FreeBSD.org

--- Comment #1 from Hiren Panchasara <hiren at FreeBSD.org> ---
On -HEAD (r278050M), I do see non-kernel events.
# pmcstat -S instructions -O /var/tmp/sample
# pmcstat -R /var/tmp/sample -G /var/tmp/sample.callgraph

In sample.callgraph, I see things like
 00.24%  [1]         sqlite3_column_bytes @ /usr/local/lib/libsqlite3.so.0.8.6
  100.0%  [1]          0xdb799d @ /usr/local/lib/firefox/libxul.so
 00.24%  [1]         unixShmLock @ /usr/local/lib/libsqlite3.so.0.8.6
  100.0%  [1]          walTryBeginRead
   100.0%  [1]           sqlite3PagerSharedLock
    100.0%  [1]            sqlite3BtreeBeginTrans
     100.0%  [1]             sqlite3VdbeExec
      100.0%  [1]              sqlite3_step
       100.0%  [1]               0xdb06b1 @ /usr/local/lib/firefox/libxul.so
 00.24%  [1]         copy_boxes @ /usr/local/lib/libcairo.so.2.11200.18
  100.0%  [1]          clip_and_composite_boxes
   100.0%  [1]           _cairo_traps_compositor_paint
    100.0%  [1]            _cairo_compositor_paint
     100.0%  [1]             _cairo_surface_paint
      100.0%  [1]              _cairo_gstate_paint
       100.0%  [1]               _cairo_default_context_paint_with_alpha
        100.0%  [1]                cairo_paint_with_alpha
         100.0%  [1]                 0xf540c6 @
/usr/local/lib/firefox/libxul.so

Am I understanding this correctly?

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


More information about the freebsd-bugs mailing list