1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[XRay][docs] Update instructions

Add `xray_mode=xray-basic` to the list of options in the "further
exploration" section of the doc.

llvm-svn: 340843
This commit is contained in:
Dean Michael Berris 2018-08-28 16:46:27 +00:00
parent 0965eef0c0
commit 28fa23e5d2

View File

@ -301,7 +301,7 @@ We then build the above with XRay instrumentation:
:: ::
$ clang++ -o sample -O3 sample.cc -std=c++11 -fxray-instrument -fxray-instruction-threshold=1 $ 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 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, application. We assume you have the graphviz toosl available in your system,