| // Copyright 2010 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| // Plan 9-specific system calls |
| prof struct { // Per process profiling |
| pp *_Plink // known to be 0(ptr) |
| next *_Plink // known to be 4(ptr) |
| cyclefreq uint64 // cycle clock frequency if there is one, 0 otherwise |
| kcycles int64 // cycles spent in kernel |
| pcycles int64 // cycles spent in process (kernel + user) |
| pid uint32 // might as well put the pid here |
| _NSIG = 14 // number of signals in sigtable array |
| _ERRMAX = 128 // max length of note string |
| // Notes in runtimeĀ·sigtab that are handled by runtimeĀ·sigpanic. |
| _SIGPROF = 0 // dummy value defined for badsignal |
| _SIGQUIT = 0 // dummy value defined for sighandler |