Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Mar 2015 06:05: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-7dLGGQ0s3r@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

Hiren Panchasara <hiren@FreeBSD.org> changed:

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

--- Comment #1 from Hiren Panchasara <hiren@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198148-8-7dLGGQ0s3r>