diff options
author | Jim MacArthur <jim.macarthur@codethink.co.uk> | 2018-04-12 12:31:49 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-23 22:03:27 +0900 |
commit | a18fcf0c2e5ca7b4d82dd253b2f0576e629ee767 (patch) | |
tree | b80d9a6d2dc3398c3dbb86609c9f56238b94e486 /buildstream/_profile.py | |
parent | 2fe1010a72093dc284a3936c91521a18395ee450 (diff) | |
download | buildstream-a18fcf0c2e5ca7b4d82dd253b2f0576e629ee767.tar.gz |
Add artifact cache receive profiling domain
_artifactcache/pushreceive.py: Wrap OSTreeReceiver.do_run in a
profiling domain.
_profile.py: Add 'ARTIFACT_RECEIVE' domain.
Diffstat (limited to 'buildstream/_profile.py')
-rw-r--r-- | buildstream/_profile.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/_profile.py b/buildstream/_profile.py index 0bf4a3dcd..4d39cfc5e 100644 --- a/buildstream/_profile.py +++ b/buildstream/_profile.py @@ -39,7 +39,7 @@ initialized = False # # BST_PROFILE=circ-dep-check:sort-deps bst <command> <args> # -# The special 'all' value will enable all profiles +# The special 'all' value will enable all profiles. class Topics(): CIRCULAR_CHECK = 'circ-dep-check' SORT_DEPENDENCIES = 'sort-deps' @@ -48,6 +48,7 @@ class Topics(): LOAD_PROJECT = 'load-project' LOAD_PIPELINE = 'load-pipeline' SHOW = 'show' + ARTIFACT_RECEIVE = 'artifact-receive' ALL = 'all' |