Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 20:38:02 GMT
From:      John-Mark Gurney <jmg@funkthat.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/185047: pmcstat's -F kcachegrind output needs work
Message-ID:  <201312202038.rBKKc2Vm009507@oldred.freebsd.org>
Resent-Message-ID: <201312202040.rBKKe07C043176@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185047
>Category:       misc
>Synopsis:       pmcstat's -F kcachegrind output needs work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 20 20:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     John-Mark Gurney
>Release:        11.0-CURRENT
>Organization:
>Environment:
>Description:
pmcstat when outputing to kcachegrind does not handle multicore very well.  It will report n cores of each stat that you gathers w/o a way to add them up.  It will also hide which CPU each stat was collected from, as it uses a global index between all stats.

pmcstat needs to output CPUID, and add lines like:
event: TOTAL = FR_RETIRED_X86_INSTRUCTIONS_0 + FR_RETIRED_X86_INSTRUCTIONS_1 + FR_RETIRED_X86_INSTRUCTIONS_2 + FR_RETIRED_X86_INSTRUCTIONS_3

to provide a total of the even over all cpus.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312202038.rBKKc2Vm009507>