aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-11-14 10:07:05 +0100
committerRickard Green <[email protected]>2013-11-14 10:07:05 +0100
commit6cd261deb5fec413eb196b620a4618cfa0781458 (patch)
tree1246b98de49c0cc391363fbbb20df4dbde2ce327 /lib/runtime_tools
parentb82549dfb985e4b55a6531d634e46446f7a8dbee (diff)
downloadotp-6cd261deb5fec413eb196b620a4618cfa0781458.tar.gz
otp-6cd261deb5fec413eb196b620a4618cfa0781458.tar.bz2
otp-6cd261deb5fec413eb196b620a4618cfa0781458.zip
Fix observer retrieval of alloc info
Diffstat (limited to 'lib/runtime_tools')
-rw-r--r--lib/runtime_tools/src/observer_backend.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/runtime_tools/src/observer_backend.erl b/lib/runtime_tools/src/observer_backend.erl
index 670e216d97..202129c61a 100644
--- a/lib/runtime_tools/src/observer_backend.erl
+++ b/lib/runtime_tools/src/observer_backend.erl
@@ -77,8 +77,8 @@ sys_info() ->
| MemInfo].
alloc_info() ->
- {_,_,AllocTypes,_} = erlang:system_info(allocator),
- try erlang:system_info({allocator_sizes,AllocTypes}) of
+ AlcuAllocs = erlang:system_info(alloc_util_allocators),
+ try erlang:system_info({allocator_sizes, AlcuAllocs}) of
Allocators -> Allocators
catch _:_ -> []
end.