Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Dec 2015 00:23:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205002] pmcstat cannot track thread ids
Message-ID:  <bug-205002-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205002

            Bug ID: 205002
           Summary: pmcstat cannot track thread ids
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: jason@eggnet.com

Currently pmcstat cannot track thread IDs:

# ps -auxwwH -O lwp,comm | grep init
root       1  0.0  0.0    9476     248  -  SLs  25Nov15     0:01.03 /sbin/init
--        1 100002 init                    -  SLs      0:01.03 /sbin/init --

this is of course pid 1, but thread id 100002

# pmcstat -t 100002 -P unhalted-cycles -O /dev/null
pmcstat: ERROR: No processes were attached to.

When debugging multithreaded applications it can be beneficial to focus on
specific threads, if different threads are performing different types of tasks.

-- 
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-205002-8>