From ade681e0dbd52d3da245a6f46804a9255d137144 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 16 May 2011 16:07:10 -0700 Subject: [PATCH] Update arcanist to use PhutilServiceProfiler. Summary: Switch to the new PhutilServiceProfiler API. Test Plan: Ran "arc" with "--trace", got mostly reasonable output. I'll clean up conduit output in a followup. Reviewed By: aran Reviewers: aran, jungejason, tuomaspelkonen CC: aran Differential Revision: 292 --- scripts/arcanist.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/arcanist.php b/scripts/arcanist.php index c9031ecb..7eb37be3 100755 --- a/scripts/arcanist.php +++ b/scripts/arcanist.php @@ -65,7 +65,7 @@ $args = array_values($args); try { if ($config_trace_mode) { - ExecFuture::pushEchoMode(true); + PhutilServiceProfiler::installEchoListener(); } if (!$args) { @@ -168,7 +168,6 @@ try { "Specify the Conduit URI for the host Differential is running on."); } $conduit = new ConduitClient($conduit_uri); - $conduit->setTraceMode($config_trace_mode); $workflow->setConduit($conduit); $hosts_config = idx($user_config, 'hosts', array());