diff --git a/docs/XRay.rst b/docs/XRay.rst index 969f7ee2c2a..acfb83c5374 100644 --- a/docs/XRay.rst +++ b/docs/XRay.rst @@ -47,7 +47,7 @@ You can use XRay in a couple of ways: - Instrumenting your C/C++/Objective-C/Objective-C++ application. - Generating LLVM IR with the correct function attributes. -The rest of this section covers these main ways and later on how to customise +The rest of this section covers these main ways and later on how to customize what XRay does in an XRay-instrumented binary. Instrumenting your C/C++/Objective-C Application diff --git a/docs/XRayExample.rst b/docs/XRayExample.rst index 5acf90f95fb..c0a2a7a917c 100644 --- a/docs/XRayExample.rst +++ b/docs/XRayExample.rst @@ -319,7 +319,7 @@ We then build the above with XRay instrumentation: $ 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, +application. We assume you have the graphviz tools available in your system, including both ``unflatten`` and ``dot``. If you prefer rendering or exploring the graph using another tool, then that should be feasible as well. ``llvm-xray graph`` will create DOT format graphs which should be usable in most graph