.gdbinit_python
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 14 Jul 2017 09:46:38 +0900
changeset 369029 680aef712819344c32f536d980d60146cf3c4cf9
parent 362829 ff64a7889c1fac56d48205fc2fad4eb5aa481a73
child 482060 fa94c9a03e3f019a060d028f61da69af41e3a8ff
permissions -rw-r--r--
Bug 1380964 - Get and upload useful sccache logs. r=gps When investigating why a particular build got a particularly high number of cache misses, it is useful to know exactly *what* had cache misses, and you can't get the missing information after the fact. We used to have some stats stored in a log file uploaded as artifact with the old python sccache per bug 1005495 (and before that inline in the build log), and we actually still have remains of that in the form of a EXTRA_UPLOAD_FILES in build/mozconfig.cache. Let's reuse that, and get some useful logs from sccache. Ideally sccache would give better logs, but those are sufficient for now. We'll figure things out eventually. https://github.com/mozilla/sccache/issues/151

python
import sys
sys.path.append('third_party/python/gdbpp/')
import gdbpp
end