diff options
author | Siri Hansen <[email protected]> | 2014-03-27 11:27:06 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-03-27 11:27:06 +0100 |
commit | 5b9ffc724e7c3ffe7c775b5113de059e2e25f755 (patch) | |
tree | 251971e94f68cffefeae627bf23d346d51869bbd /lib/observer/src/observer_lib.erl | |
parent | d6b30f44ea610355dab47024acdcb9fc597f96cb (diff) | |
parent | f51d3ce81c1314d06b76975d9d06bf2b22925a89 (diff) | |
download | otp-5b9ffc724e7c3ffe7c775b5113de059e2e25f755.tar.gz otp-5b9ffc724e7c3ffe7c775b5113de059e2e25f755.tar.bz2 otp-5b9ffc724e7c3ffe7c775b5113de059e2e25f755.zip |
Merge branch 'siri/cdv-bugs/OTP-11650'
* siri/cdv-bugs/OTP-11650:
Improve crashdump_viewer_SUITE:start_stop test case
Fix crash in crashdump_viewer when node has multiple creations
Change spawn/1 + monitor/2 to spawn_monitor/1 to avoid deadlock
Diffstat (limited to 'lib/observer/src/observer_lib.erl')
-rw-r--r-- | lib/observer/src/observer_lib.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/observer/src/observer_lib.erl b/lib/observer/src/observer_lib.erl index cedaf7d2b8..34c7b127ff 100644 --- a/lib/observer/src/observer_lib.erl +++ b/lib/observer/src/observer_lib.erl @@ -249,6 +249,8 @@ to_str({func, {F,A}}) when is_atom(F), is_integer(A) -> lists:concat([F, "/", A]); to_str({func, {F,'_'}}) when is_atom(F) -> atom_to_list(F); +to_str({{format,Fun},Value}) when is_function(Fun) -> + Fun(Value); to_str({A, B}) when is_atom(A), is_atom(B) -> lists:concat([A, ":", B]); to_str({M,F,A}) when is_atom(M), is_atom(F), is_integer(A) -> |