diff options
author | Russ Cox <rsc@golang.org> | 2010-03-23 17:01:17 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-03-23 17:01:17 -0700 |
commit | 9e8323d78118bee7011682bf9ecfc6650d224819 (patch) | |
tree | 5978519b4512d36381a26108062f22e7ac3fac42 /src/pkg/runtime/runtime.h | |
parent | 2c3c610c481dda8f412f4d0657fa3ef34f70057d (diff) | |
download | golang-9e8323d78118bee7011682bf9ecfc6650d224819.tar.gz |
runtime: add Callers
cut copies of traceback from 6 to 1.
R=r
CC=golang-dev
http://codereview.appspot.com/703041
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r-- | src/pkg/runtime/runtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 194503ec8..622f68038 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -407,6 +407,7 @@ void newproc1(byte*, byte*, int32, int32); void siginit(void); bool sigsend(int32 sig); void gettime(int64*, int32*); +int32 callers(int32, uintptr*, int32); int64 nanotime(void); #pragma varargck argpos printf 1 |