[Bug 205002] pmcstat cannot track thread ids
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 4 00:23:08 UTC 2015
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 at FreeBSD.org
Reporter: jason at 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.
More information about the freebsd-bugs
mailing list