aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArtur Cygan <[email protected]>2018-06-19 19:38:07 +0200
committerArtur Cygan <[email protected]>2018-06-20 22:17:01 +0200
commit9d1fee0615550f09e0bf082d6ee1c4a5f86f2e93 (patch)
treeb7a06146e9531c974e6b5b3a41216d10df9d17ca /lib
parent14c1961ccd36987c789d0360ad7c65a31800f2f9 (diff)
downloadotp-9d1fee0615550f09e0bf082d6ee1c4a5f86f2e93.tar.gz
otp-9d1fee0615550f09e0bf082d6ee1c4a5f86f2e93.tar.bz2
otp-9d1fee0615550f09e0bf082d6ee1c4a5f86f2e93.zip
Use bif for counting ets tables in observer backend
Diffstat (limited to 'lib')
-rw-r--r--lib/runtime_tools/src/observer_backend.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/runtime_tools/src/observer_backend.erl b/lib/runtime_tools/src/observer_backend.erl
index 063b19e533..3a24986381 100644
--- a/lib/runtime_tools/src/observer_backend.erl
+++ b/lib/runtime_tools/src/observer_backend.erl
@@ -94,7 +94,7 @@ sys_info() ->
{port_limit, erlang:system_info(port_limit)},
{port_count, erlang:system_info(port_count)},
{ets_limit, erlang:system_info(ets_limit)},
- {ets_count, length(ets:all())},
+ {ets_count, erlang:system_info(ets_count)},
{dist_buf_busy_limit, erlang:system_info(dist_buf_busy_limit)}
| MemInfo].