aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_lib.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2011-11-11 15:00:11 +0100
committerDan Gudmundsson <[email protected]>2011-11-17 14:51:28 +0100
commitb65b0c4bf4896021cbd327a4bc1acd426645a5f3 (patch)
tree5a5449038c82f1a57d688fb8e6cfa51aebb91b66 /lib/observer/src/observer_lib.erl
parent3caa688c5522b8f0f039b9375cf6377b1bd88f0e (diff)
downloadotp-b65b0c4bf4896021cbd327a4bc1acd426645a5f3.tar.gz
otp-b65b0c4bf4896021cbd327a4bc1acd426645a5f3.tar.bz2
otp-b65b0c4bf4896021cbd327a4bc1acd426645a5f3.zip
[observer] Rework tracing part of the gui
No tracing is implemented yet.
Diffstat (limited to 'lib/observer/src/observer_lib.erl')
-rw-r--r--lib/observer/src/observer_lib.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/observer/src/observer_lib.erl b/lib/observer/src/observer_lib.erl
index b3a2dcf5ec..90c270e977 100644
--- a/lib/observer/src/observer_lib.erl
+++ b/lib/observer/src/observer_lib.erl
@@ -170,6 +170,10 @@ to_str({time_ms, MS}) ->
true -> integer_to_list(S) ++ " Secs"
end;
+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({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) ->