s = goStateTransition(GoID(e.base.args[0]), GoRunnable, GoRunning)
case go122.EvGoDestroy:
s = goStateTransition(e.ctx.G, GoRunning, GoNotExist)
+ s.Stack = e.Stack() // This event references the resource the event happened on.
case go122.EvGoDestroySyscall:
s = goStateTransition(e.ctx.G, GoSyscall, GoNotExist)
case go122.EvGoStop:
s = goStateTransition(e.ctx.G, GoRunning, GoRunnable)
s.Reason = e.table.strings.mustGet(stringID(e.base.args[0]))
+ s.Stack = e.Stack() // This event references the resource the event happened on.
case go122.EvGoBlock:
s = goStateTransition(e.ctx.G, GoRunning, GoWaiting)
s.Reason = e.table.strings.mustGet(stringID(e.base.args[0]))
+ s.Stack = e.Stack() // This event references the resource the event happened on.
case go122.EvGoUnblock:
s = goStateTransition(GoID(e.base.args[0]), GoWaiting, GoRunnable)
case go122.EvGoSyscallBegin:
s = goStateTransition(e.ctx.G, GoRunning, GoSyscall)
+ s.Stack = e.Stack() // This event references the resource the event happened on.
case go122.EvGoSyscallEnd:
s = goStateTransition(e.ctx.G, GoSyscall, GoRunning)
+ s.Stack = e.Stack() // This event references the resource the event happened on.
case go122.EvGoSyscallEndBlocked:
s = goStateTransition(e.ctx.G, GoSyscall, GoRunnable)
+ s.Stack = e.Stack() // This event references the resource the event happened on.
case go122.EvGoStatus:
// N.B. ordering.advance populates e.base.extra.
s = goStateTransition(GoID(e.base.args[0]), GoState(e.base.extra(version.Go122)[0]), go122GoStatus2GoState[e.base.args[2]])