Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Unified Diff: tools/isolate/trace_inputs.py

Issue 10541083: Use a larger dtrace kernel buffer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/trace_inputs.py
diff --git a/tools/isolate/trace_inputs.py b/tools/isolate/trace_inputs.py
index 984a7b6a1637f1ea5f38983a332e1d18aa311807..157f9e562382937276dd38e1269d91ae1aa07c1b 100755
--- a/tools/isolate/trace_inputs.py
+++ b/tools/isolate/trace_inputs.py
@@ -1687,7 +1687,11 @@ class Dtrace(ApiBase):
trace_cmd = [
'sudo',
'dtrace',
- '-x', 'dynvarsize=4m',
+ # Use a larger buffer if getting 'out of scratch space' errors.
+ # Ref: https://wikis.oracle.com/display/DTrace/Options+and+Tunables
+ '-b', '10m',
+ '-x', 'dynvarsize=10m',
+ #'-x', 'dtrace_global_maxsize=1m',
'-x', 'evaltime=exec',
'-o', '/dev/stderr',
'-q',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698