summaryrefslogtreecommitdiff
path: root/usr/austin/ogle/frame.go
diff options
context:
space:
mode:
Diffstat (limited to 'usr/austin/ogle/frame.go')
-rw-r--r--usr/austin/ogle/frame.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/austin/ogle/frame.go b/usr/austin/ogle/frame.go
index 4a4fd9a43..522c263b1 100644
--- a/usr/austin/ogle/frame.go
+++ b/usr/austin/ogle/frame.go
@@ -47,7 +47,7 @@ func NewFrame(g remoteStruct) *Frame {
// figure out if it's on an OS thread or not. However, this
// is difficult because the state isn't updated atomically
// with scheduling changes.
- for _, t := range p.Threads() {
+ for _, t := range p.proc.Threads() {
regs, err := t.Regs();
if err != nil {
// TODO(austin) What to do?
@@ -182,6 +182,8 @@ func (f *Frame) Outer() *Frame {
return nil;
}
+ // TODO(austin) Register this frame for shoot-down.
+
f.outer = prepareFrame(pc, sp, f.stk, f);
return f.outer;
}