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

Unified Diff: sky/tools/skydb

Issue 854833004: Add pprof support to skydb (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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 | « sky/tools/debugger/prompt/prompt.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/skydb
diff --git a/sky/tools/skydb b/sky/tools/skydb
index 38db95efa174e8343be35380fedb9d7d1c91abe5..abdbbd4094bb814663499a337dc614ccf9828681 100755
--- a/sky/tools/skydb
+++ b/sky/tools/skydb
@@ -387,6 +387,10 @@ class SkyDebugger(object):
'reload the current page')
self._add_basic_command(subparsers, 'inspect', '/inspect',
'stop the running sky instance')
+ self._add_basic_command(subparsers, 'start_profiling', '/start_profiling',
+ 'starts profiling the running sky instance (Linux only)')
+ self._add_basic_command(subparsers, 'stop_profiling', '/stop_profiling',
+ 'stios profiling the running sky instance (Linux only)')
load_parser = subparsers.add_parser('load',
help='load a new page in the currently running sky')
« no previous file with comments | « sky/tools/debugger/prompt/prompt.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698