summaryrefslogtreecommitdiff
path: root/erts/etc/unix
diff options
context:
space:
mode:
authorRickard Green <rickard@erlang.org>2016-05-31 21:03:47 +0200
committerRickard Green <rickard@erlang.org>2016-05-31 21:03:47 +0200
commit9e4d723e601f720e024237e56c6f302ce5125831 (patch)
treef49bf234217a6e58fac5fee15842016b52e05bb6 /erts/etc/unix
parent7321e2a3cde97342f966193cb69e682596e36536 (diff)
downloaderlang-9e4d723e601f720e024237e56c6f302ce5125831.tar.gz
Update process state flags in etp-commands
Diffstat (limited to 'erts/etc/unix')
-rw-r--r--erts/etc/unix/etp-commands.in25
1 files changed, 23 insertions, 2 deletions
diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in
index 4dc24d68b4..8f9945c4b4 100644
--- a/erts/etc/unix/etp-commands.in
+++ b/erts/etc/unix/etp-commands.in
@@ -1657,8 +1657,29 @@ end
define etp-proc-state-int
# Args: int
#
- if ($arg0 & 0xff000000)
- printf "GARBAGE | "
+ if ($arg0 & 0x80000000)
+ printf "GARBAGE<0x80000000> | "
+ end
+ if ($arg0 & 0x40000000)
+ printf "dirty-running-sys | "
+ end
+ if ($arg0 & 0x20000000)
+ printf "dirty-running | "
+ end
+ if ($arg0 & 0x10000000)
+ printf "dirty-active-sys | "
+ end
+ if ($arg0 & 0x8000000)
+ printf "dirty-io-proc | "
+ end
+ if ($arg0 & 0x4000000)
+ printf "dirty-cpu-proc | "
+ end
+ if ($arg0 & 0x2000000)
+ printf "on-heap-msgq | "
+ end
+ if ($arg0 & 0x1000000)
+ printf "off-heap-msgq | "
end
if ($arg0 & 0x800000)
printf "delayed-sys | "