From 6da93c20472f5d13b34a40ca53cba4fe6f352d24 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Thu, 2 Aug 2012 18:21:50 +0200 Subject: Generalize process table implementation --- erts/etc/unix/etp-commands | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'erts/etc') diff --git a/erts/etc/unix/etp-commands b/erts/etc/unix/etp-commands index 1f2af4a291..41a37cc1fa 100644 --- a/erts/etc/unix/etp-commands +++ b/erts/etc/unix/etp-commands @@ -1371,9 +1371,9 @@ define etp-process-info etp-1 $arg0->id printf "\n State: " etp-proc-state $arg0 - if ($arg0->reg) + if ($arg0->common.u.alive.reg) printf " Registered name: " - etp-1 $arg0->reg->name + etp-1 $arg0->common.u.alive.reg->name printf "\n" end if ($arg0->current) @@ -1399,7 +1399,7 @@ define etp-process-info end printf " Mbuf size: %ld\n", $arg0->mbuf_sz if (etp_smp_compiled) - printf " Msgq len: %ld (inner=%ld, outer=%ld)\n", ($arg0->msg.len + $arg0->u.alive.msg_inq.len), $arg0->msg.len, $arg0->u.alive.msg_inq.len + printf " Msgq len: %ld (inner=%ld, outer=%ld)\n", ($arg0->msg.len + $arg0->msg_inq.len), $arg0->msg.len, $arg0->msg_inq.len else printf " Msgq len: %d\n", $arg0->msg.len end -- cgit v1.2.3