aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/src
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-09-14 18:19:16 +0200
committerSiri Hansen <[email protected]>2016-09-23 15:14:46 +0200
commitac1a648ff518e0aa92cb14773b617829081a75d0 (patch)
tree652667867a508c3b352beb98c1a3272fb55350a4 /lib/runtime_tools/src
parent3f3f25b23379b1afb15cc97462cf5d385690f5a0 (diff)
downloadotp-ac1a648ff518e0aa92cb14773b617829081a75d0.tar.gz
otp-ac1a648ff518e0aa92cb14773b617829081a75d0.tar.bz2
otp-ac1a648ff518e0aa92cb14773b617829081a75d0.zip
[ttb] Add option <c>queue_size</c> to tracer/2
This sets the maximum queue size for the IP trace driver which is used when tracing to shell and/or <c>{local,File}</c>. Also, change the default queue size set by dbg:trace_port/2 to 200.
Diffstat (limited to 'lib/runtime_tools/src')
-rw-r--r--lib/runtime_tools/src/dbg.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/runtime_tools/src/dbg.erl b/lib/runtime_tools/src/dbg.erl
index c0d4665bda..f17aa528ed 100644
--- a/lib/runtime_tools/src/dbg.erl
+++ b/lib/runtime_tools/src/dbg.erl
@@ -427,7 +427,7 @@ trace_port(file, Filename) ->
trace_port1(file, Filename, nowrap);
trace_port(ip, Portno) when is_integer(Portno) ->
- trace_port(ip,{Portno,50});
+ trace_port(ip,{Portno,200});
trace_port(ip, {Portno, Qsiz}) when is_integer(Portno), is_integer(Qsiz) ->
fun() ->