[PATCH] D68260: Decrease the verbosity of the -ftime-trace optionAnd move the relevant information in the doc.
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 00:55:02 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL373308: Decrease the verbosity of the -ftime-trace option (authored by sylvestre, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68260/new/
https://reviews.llvm.org/D68260
Files:
cfe/trunk/docs/ClangCommandLineReference.rst
cfe/trunk/tools/driver/cc1_main.cpp
Index: cfe/trunk/tools/driver/cc1_main.cpp
===================================================================
--- cfe/trunk/tools/driver/cc1_main.cpp
+++ cfe/trunk/tools/driver/cc1_main.cpp
@@ -271,9 +271,6 @@
llvm::timeTraceProfilerCleanup();
llvm::errs() << "Time trace json-file dumped to " << Path.str() << "\n";
- llvm::errs()
- << "Use chrome://tracing or Speedscope App "
- "(https://www.speedscope.app) for flamegraph visualization\n";
}
// Our error handler depends on the Diagnostics object, which we're
Index: cfe/trunk/docs/ClangCommandLineReference.rst
===================================================================
--- cfe/trunk/docs/ClangCommandLineReference.rst
+++ cfe/trunk/docs/ClangCommandLineReference.rst
@@ -1942,7 +1942,8 @@
.. option:: -ftime-trace
-Turn on time profiler
+Turn on time profiler. Results can be analyzed with chrome://tracing or
+`Speedscope App <https://www.speedscope.app>`_ for flamegraph visualization
.. option:: -ftime-trace-granularity=<arg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68260.222555.patch
Type: text/x-patch
Size: 1046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191001/9b2cc1dd/attachment.bin>
More information about the llvm-commits
mailing list