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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 2 01:47:02 UTC 2015


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

            Bug ID: 198148
           Summary: [hwpmc] pmcstat -G doesn't resolve symbols from
                    userland processes
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: adrian at freebsd.org

pmcstat -G doesn't seem to resolve symbols from userland processes correctly or
reliably. In almost every instance, running pmcstat -G on a log file just
plainly doesn't resolve anything that isn't a kernel symbol.

To reproduce:

* run some very CPU busy process with lots of threads and syscalls;
* run pmcstat -O to record events to a logfile;
* when you're done, try using pmcstat -R <file> -G to spit out the callgraph to
stdout.

Even if all of the events are process-spec, I see /just/ kernel events.

This happens on both -HEAD and -10.

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


More information about the freebsd-bugs mailing list