aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/unix/etp-commands.in
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-04-15 11:29:50 +0200
committerLukas Larsson <[email protected]>2019-04-18 14:14:42 +0200
commit290a5b02b9c9d66729ac87b7099a8ca6fa2e8bc2 (patch)
tree53fe0e8ac25ed4af34f4fd0f3ed3619bf43e8696 /erts/etc/unix/etp-commands.in
parent31457daef972d3a79b7c8f3a1ffde2e1e082595a (diff)
downloadotp-290a5b02b9c9d66729ac87b7099a8ca6fa2e8bc2.tar.gz
otp-290a5b02b9c9d66729ac87b7099a8ca6fa2e8bc2.tar.bz2
otp-290a5b02b9c9d66729ac87b7099a8ca6fa2e8bc2.zip
erts: Fix etp-process-info to print exiting and free processes
Diffstat (limited to 'erts/etc/unix/etp-commands.in')
-rw-r--r--erts/etc/unix/etp-commands.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in
index dc28107ef5..36786aa302 100644
--- a/erts/etc/unix/etp-commands.in
+++ b/erts/etc/unix/etp-commands.in
@@ -2090,7 +2090,7 @@ define etp-process-info-int
etp-pid2proc-1 $etp_proc->common.id
etp-process-info $proc
else
- if (*(((Uint32 *) &($etp_proc->state))) & 0x4) == 0
+ if (*(((Uint32 *) &($etp_proc->state))) & 0x800) == 0
if ($etp_proc->common.u.alive.reg)
printf " Registered name: "
etp-1 $etp_proc->common.u.alive.reg->name