>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:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to