The current production version of PowerTOP aggregates xcalls by the execname, assigning sum(arg0) to that particular index. The recent changes switched the aggregation assignment from sum(arg0) to a simple count(). This isn't a problem for x86, since all probe points are of the CPU_STATS_ADDQ(CPU, sys, xcalls, 1) form - last argument is the # of xcalls.
But for sun4v, we have call sites for the same probe that indicate a larger number of xcalls on a single firing, such as CPU_STATS_ADDQ(CPU, sys, xcalls, ncpuids). So I'm wondering if we should show sum(arg0) regardless of the extremely high number of xcalls on sun4v, or if we should use count() as the default mode and sum(arg0) for the verbose mode. Here's a comparison between these two With sum(arg0): Top causes for wakeups: 97.9% (9425.5) sched : <cross call> unix`dtrace_sync_func With count(): Top causes for wakeups: 80.0% (478.9) sched : <cross call> unix`dtrace_sync_func Ideas ? Thanks, Rafael
