DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

percpu - Display privately-mapped globals for a given cpu

SYNOPSIS

percpu i
percpu+ a

DESCRIPTION

The percpu macro takes the cpu number as an argument. It displays the percpu table information.

The percpu structure is defined in /usr/include/sys/mp/percpu.h

Typical output looks like this:


  S> percpu 0
  [C0002000]  cpuid 00000000
  cpu_info: [D0225208]  slot 00000000  flags 00000005: EXISTS RUNNING
   kpd0 C0002000    ipl 00000000  cproc D12A0200  panic 00000000  qrunf 00
  kupt0 C0003000  picpl 00000000  oldcu D1276A00  pnstr 00000000  lqflg 00
    gdt C0005000  valid 00000001  oldpr 00000000  curlk E02034AC  qhead 00000000
  cmask C0005330   npic 00000002  idlep D11C4A00  lktbl C00054B0
  imask C0005310  picmx 00000001  fproc 00000000  pfbuf D02839F8  scqfl 00000000
  dbug0 00000000  dbug2 00000000  dbug4 00000000  dbug6 00000000  dbug8 00000000
  dbug1 00000000  dbug3 00000000  dbug5 00000000  dbug7 00000000  dbug9 00000000

DEFINED IN

percpu.k

SEE ALSO

cpuinfo, cpu

APPENDIX A: Alphabetic Index of Macros