diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-12-18 09:44:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-05 11:39:33 +0000 |
commit | b0c47ae55552379b152c871897f3c8a03d06818a (patch) | |
tree | cafcc60dc81b823327ba1c920d9a1069ad58a3b3 /bitbake/lib/bb/runqueue.py | |
parent | 831b3d5b2213f99e009cce1524b4363baa00a5fb (diff) | |
download | poky-b0c47ae55552379b152c871897f3c8a03d06818a.tar.gz |
bitbake: bitbake/runqueue: add debugging for find_siginfo() calls
(Bitbake rev: 52f5503e8cf048331134233fb681db6dc736ae38)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 24497c5c17..e14b5d41e1 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1753,7 +1753,9 @@ class RunQueue: | |||
1753 | # Define recursion callback | 1753 | # Define recursion callback |
1754 | def recursecb(key, hash1, hash2): | 1754 | def recursecb(key, hash1, hash2): |
1755 | hashes = [hash1, hash2] | 1755 | hashes = [hash1, hash2] |
1756 | bb.debug(1, "Recursively looking for recipe {} hashes {}".format(key, hashes)) | ||
1756 | hashfiles = bb.siggen.find_siginfo(key, None, hashes, self.cfgData) | 1757 | hashfiles = bb.siggen.find_siginfo(key, None, hashes, self.cfgData) |
1758 | bb.debug(1, "Found hashfiles:\n{}".format(hashfiles)) | ||
1757 | 1759 | ||
1758 | recout = [] | 1760 | recout = [] |
1759 | if len(hashfiles) == 2: | 1761 | if len(hashfiles) == 2: |
@@ -1769,7 +1771,9 @@ class RunQueue: | |||
1769 | (mc, fn, taskname, taskfn) = split_tid_mcfn(tid) | 1771 | (mc, fn, taskname, taskfn) = split_tid_mcfn(tid) |
1770 | pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn] | 1772 | pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn] |
1771 | h = self.rqdata.runtaskentries[tid].unihash | 1773 | h = self.rqdata.runtaskentries[tid].unihash |
1774 | bb.debug(1, "Looking for recipe {} task {}".format(pn, taskname)) | ||
1772 | matches = bb.siggen.find_siginfo(pn, taskname, [], self.cooker.databuilder.mcdata[mc]) | 1775 | matches = bb.siggen.find_siginfo(pn, taskname, [], self.cooker.databuilder.mcdata[mc]) |
1776 | bb.debug(1, "Found hashfiles:\n{}".format(matches)) | ||
1773 | match = None | 1777 | match = None |
1774 | for m in matches: | 1778 | for m in matches: |
1775 | if h in m: | 1779 | if h in m: |