CPU_STATS_ADDQ
CPU_STATS_ADDQ(cp, sys, pswitch, 1);
CPU_STATS_ADDQ(cp, sys, idlethread, 1);
CPU_STATS_ADDQ(CPU, sys, inv_swtch, 1);
CPU_STATS_ADDQ(cp, sys, pswitch, 1);
CPU_STATS_ADDQ(cp, sys, intrblk, 1);
CPU_STATS_ADDQ(cp, sys, pswitch, 1);
CPU_STATS_ADDQ(CPU, sys, pswitch, 1);
CPU_STATS_ADDQ(CPU, sys, nthreads, 1);
CPU_STATS_ADDQ(CPU, sys, namei, 1);
CPU_STATS_ADDQ(CPU, sys, ufsipage, 1);
CPU_STATS_ADDQ(CPU, sys, ufsinopage, 1);
CPU_STATS_ADDQ(cpup, vm, pgin, 1);
CPU_STATS_ADDQ(cpup, vm, pgpgin, btopr(len));
CPU_STATS_ADDQ(cpup, vm, maj_fault, 1);
CPU_STATS_ADDQ(cpup, vm, anonpgin, btopr(len));
CPU_STATS_ADDQ(cpup, vm, execpgin,
CPU_STATS_ADDQ(cpup, vm, fspgin,
CPU_STATS_ADDQ(cpup, sys, lwrite, 1);
CPU_STATS_ADDQ(cpup, sys, bwrite, 1);
CPU_STATS_ADDQ(cpup, sys, bawrite, 1);
CPU_STATS_ADDQ(CPU, sys, rcvint, value);
CPU_STATS_ADDQ(CPU, sys, xmtint, value);
CPU_STATS_ADDQ(CPU, sys, mdmint, value);
CPU_STATS_ADDQ(CPU, sys, rawch, value);
CPU_STATS_ADDQ(CPU, sys, canch, value);
CPU_STATS_ADDQ(CPU, sys, outch, value);
CPU_STATS_ADDQ(CPU, sys, procovf, 1);
CPU_STATS_ADDQ(CPU, sys, sysvfork, 1);
CPU_STATS_ADDQ(CPU, sys, sysfork, 1);
CPU_STATS_ADDQ(CPU, sys, modload, 1);
CPU_STATS_ADDQ(CPU, sys, modunload, 1);
CPU_STATS_ADDQ(CPU, sys, modload, 1);
CPU_STATS_ADDQ(CPU, sys, modunload, 1);
CPU_STATS_ADDQ(CPU, sys, modunload, 1);
CPU_STATS_ADDQ(CPU, sys, msg, 1); /* bump msg send/rcv count */
CPU_STATS_ADDQ(CPU, sys, msg, 1); /* bump msg send/rcv count */
CPU_STATS_ADDQ(cpup, sys, mutex_adenters, 1);
CPU_STATS_ADDQ(CPU, sys, rw_rdfails, 1);
CPU_STATS_ADDQ(CPU, sys, rw_wrfails, 1);
CPU_STATS_ADDQ(cpup, vm, swapin, 1);
CPU_STATS_ADDQ(cpup, vm, pgswapin,
CPU_STATS_ADDQ(cpup,
CPU_STATS_ADDQ(cpup, vm, pgswapout, btop(as_size));
CPU_STATS_ADDQ(cpup, vm, swapout, 1);
CPU_STATS_ADDQ(cpup, vm, pgswapout, stack_pages);
CPU_STATS_ADDQ(cpup, vm, pgswapout,
CPU_STATS_ADDQ(cpup, vm, swapout, 1);
CPU_STATS_ADDQ(CPU, vm, pgrrun, 1);
CPU_STATS_ADDQ(CPU, vm, scan, 1);
CPU_STATS_ADDQ(CPU, vm, rev, 1);
CPU_STATS_ADDQ(CPU, class, stat, amount); \
CPU_STATS_ADDQ(cp, sys, sysread, 1);
CPU_STATS_ADDQ(cp, sys, readch, (ulong_t)count);
CPU_STATS_ADDQ(cp, sys, syswrite, 1);
CPU_STATS_ADDQ(cp, sys, writech, (ulong_t)count);
CPU_STATS_ADDQ(cp, sys, sysread, 1);
CPU_STATS_ADDQ(cp, sys, readch, (ulong_t)bcount);
CPU_STATS_ADDQ(cp, sys, syswrite, 1);
CPU_STATS_ADDQ(cp, sys, writech, (ulong_t)bcount);
CPU_STATS_ADDQ(cp, sys, sysread, 1);
CPU_STATS_ADDQ(cp, sys, readch, (ulong_t)cnt);
CPU_STATS_ADDQ(cp, sys, syswrite, 1);
CPU_STATS_ADDQ(cp, sys, writech, (ulong_t)cnt);
CPU_STATS_ADDQ(cp, sys, sysread, 1);
CPU_STATS_ADDQ(cp, sys, readch, (ulong_t)bcount);
CPU_STATS_ADDQ(cp, sys, syswrite, 1);
CPU_STATS_ADDQ(cp, sys, writech, (ulong_t)bcount);
CPU_STATS_ADDQ(cp, sys, sysread, 1);
CPU_STATS_ADDQ(cp, sys, readch, (ulong_t)count);
CPU_STATS_ADDQ(cp, sys, syswrite, 1);
CPU_STATS_ADDQ(cp, sys, writech, (ulong_t)count);
CPU_STATS_ADDQ(CPU, sys, sema, 1); /* bump semaphore op count */
CPU_STATS_ADDQ(CPU, vm, as_fault, 1);
CPU_STATS_ADDQ(CPU, vm, kernel_asflt, 1);
CPU_STATS_ADDQ(cpup, vm, pgrec, 1);
CPU_STATS_ADDQ(cpup, vm, pgfrec, 1);
CPU_STATS_ADDQ(cpup, vm, dfree, dfree);
CPU_STATS_ADDQ(cpup, vm, pgrec, pgrec);
CPU_STATS_ADDQ(cpup, vm, pgout, pgout);
CPU_STATS_ADDQ(cpup, vm, pgpgout, pgpgout);
CPU_STATS_ADDQ(cpup, vm, anonpgout, anonpgout);
CPU_STATS_ADDQ(cpup, vm, anonfree, anonfree);
CPU_STATS_ADDQ(cpup, vm, fspgout, fspgout);
CPU_STATS_ADDQ(cpup, vm, fsfree, fsfree);
CPU_STATS_ADDQ(cpup, vm, execpgout, execpgout);
CPU_STATS_ADDQ(cpup, vm, execfree, execfree);
CPU_STATS_ADDQ(CPU, sys, trap, 1);
CPU_STATS_ADDQ(CPU, sys, xcalls, 1);
CPU_STATS_ADDQ(CPU, sys, syscall, 1);
CPU_STATS_ADDQ(CPU, sys, trap, 1);
CPU_STATS_ADDQ(CPU, sys, trap, 1);
CPU_STATS_ADDQ(CPU, sys, xcalls, 1); \
CPU_STATS_ADDQ(CPU, sys, xcalls, shipped);
CPU_STATS_ADDQ(CPU, sys, xcalls, ncpuids);
CPU_STATS_ADDQ(CPU, sys, xcalls, 1);
CPU_STATS_ADDQ(CPU, sys, xcalls, 1);
CPU_STATS_ADDQ(CPU, sys, xcalls, shipped);
CPU_STATS_ADDQ(CPU, sys, xcalls, ncpuids);
CPU_STATS_ADDQ(CPU, sys, xcalls, shipped);
CPU_STATS_ADDQ(CPU, sys, xcalls, ncpuids);
CPU_STATS_ADDQ(CPU, sys, xcalls, 1);
CPU_STATS_ADDQ(CPU, sys, xcalls, shipped);
CPU_STATS_ADDQ(CPU, sys, xcalls, 1);
CPU_STATS_ADDQ(CPU, sys, xcalls, shipped);