aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/unix/etp-commands.in
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-04-18 14:28:29 +0200
committerLukas Larsson <[email protected]>2019-04-18 14:28:29 +0200
commitd0d4f2be1ebfe8293a627531b65819e85482c1d9 (patch)
tree0e8bada3e0022db00fe0d566b2850f9751129f85 /erts/etc/unix/etp-commands.in
parent659ed4c005bb8c943c217d52383c219c0998aafa (diff)
parentcf92a1285fb7f1ea6e8c883f02ca146b5b1ab455 (diff)
downloadotp-d0d4f2be1ebfe8293a627531b65819e85482c1d9.tar.gz
otp-d0d4f2be1ebfe8293a627531b65819e85482c1d9.tar.bz2
otp-d0d4f2be1ebfe8293a627531b65819e85482c1d9.zip
Merge branch 'lukas/tools/overhead_benchmark'
* lukas/tools/overhead_benchmark: etp: Fix free de processes check tools: Add overhead benchmark
Diffstat (limited to 'erts/etc/unix/etp-commands.in')
-rw-r--r--erts/etc/unix/etp-commands.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in
index 36786aa302..f2b2ab1d9a 100644
--- a/erts/etc/unix/etp-commands.in
+++ b/erts/etc/unix/etp-commands.in
@@ -2176,8 +2176,8 @@ end
define etp-processes-free-de-int
set $de_ix = 0
- while $de_ix < ($arg1)
- set $de = ($arg0)+$de_ix
+ set $de = ($arg0)
+ while $de
set $susp = $de->suspended
set $susp_curr = $susp
set $first_loop = 1
@@ -2191,7 +2191,7 @@ define etp-processes-free-de-int
set $first_loop = 0
set $susp_curr = $susp_curr->next
end
- set $de_ix++
+ set $de = $de->next
end
end