[llvm] r340843 - [XRay][docs] Update instructions
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 28 09:46:28 PDT 2018
Author: dberris
Date: Tue Aug 28 09:46:27 2018
New Revision: 340843
URL: http://llvm.org/viewvc/llvm-project?rev=340843&view=rev
Log:
[XRay][docs] Update instructions
Add `xray_mode=xray-basic` to the list of options in the "further
exploration" section of the doc.
Modified:
llvm/trunk/docs/XRayExample.rst
Modified: llvm/trunk/docs/XRayExample.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/XRayExample.rst?rev=340843&r1=340842&r2=340843&view=diff
==============================================================================
--- llvm/trunk/docs/XRayExample.rst (original)
+++ llvm/trunk/docs/XRayExample.rst Tue Aug 28 09:46:27 2018
@@ -301,7 +301,7 @@ We then build the above with XRay instru
::
$ clang++ -o sample -O3 sample.cc -std=c++11 -fxray-instrument -fxray-instruction-threshold=1
- $ XRAY_OPTIONS="patch_premain=true" ./sample
+ $ XRAY_OPTIONS="patch_premain=true xray_mode=xray-basic" ./sample
We can then explore the graph rendering of the trace generated by this sample
application. We assume you have the graphviz toosl available in your system,
More information about the llvm-commits
mailing list