Re: [DDB] show pcpu ....
From: Julian Elischer (julian_at_elischer.org)
Date: 01/17/05
- Previous message: M. Warner Losh: "Re: no /dev/ums0 when module loaded"
- In reply to: Wilkinson, Alex: "[DDB] show pcpu ...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 16 Jan 2005 23:01:38 -0800 To: "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
Wilkinson, Alex wrote:
> Can anyone point me to an explanation of 'show pcpu' ?
>
> It is first introduced here:
>
> http://www.freebsd.org/releases/5.0R/DP1/relnotes-i386.html
Each processor has a memory section that contains a separate and different
copy of the per-cpu structure (struct pcpu).
The fields of this structure are usually accessed via the PCPU_GET()
and PCPU_SET() macros. curthread (or curproc in earlier systems)
is defined in terms of thiese macros.
"show pcpu" shows the values of the particular insatanc of this structure
for the cpu on which the ddb is running.
>
> With a link to ddb(4) man page:
>
> http://www.freebsd.org/cgi/man.cgi?query=ddb&sektion=4&manpath=FreeBSD+5.0-current
>
> However, the man page says nothing whatsoever about 'show pcpu'.
>
> Anyone ?
>
> - aW
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: M. Warner Losh: "Re: no /dev/ums0 when module loaded"
- In reply to: Wilkinson, Alex: "[DDB] show pcpu ...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]