From 157899513d32afd702f367a122b6993bc98725e2 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 23 Apr 2018 22:04:17 +0900 Subject: HACKING.rst: Fixing formatting of titles. Titles have 2 blank lines before them, and no blank lines after them. --- HACKING.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'HACKING.rst') 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` -- cgit v1.2.1