summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-23 22:04:17 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-23 22:04:17 +0900
commit157899513d32afd702f367a122b6993bc98725e2 (patch)
tree32595ff8f6f8ac8841cf6229393cd1e744ef89f4
parent1cd3728c25593a8b61669d90e56dbc9f73f5b961 (diff)
downloadbuildstream-157899513d32afd702f367a122b6993bc98725e2.tar.gz
HACKING.rst: Fixing formatting of titles.
Titles have 2 blank lines before them, and no blank lines after them.
-rw-r--r--HACKING.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 844e7861f..76aab91a7 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -445,9 +445,9 @@ to generate an .svg image:
The generated SVG file can then be viewed in your preferred web browser.
+
Profiling specific parts of BuildStream with BST_PROFILE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
BuildStream can also turn on cProfile for specific parts of execution
using BST_PROFILE.
@@ -462,9 +462,9 @@ call most of `initialized`, for each element. These profile files
are in the same cProfile format as those mentioned in the previous
section, and can be analysed with `pstats` or `pyflame`.
+
Profiling the artifact cache receiver
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
Since the artifact cache receiver is not normally run directly, it's
necessary to alter the ForceCommand part of sshd_config to enable
profiling. See the main documentation in `doc/source/artifacts.rst`