<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/codeparser.py, branch edison-6.0</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=edison-6.0</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=edison-6.0'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2011-06-15T10:13:13+00:00</updated>
<entry>
<title>codeparser: When loading the cache, ignore ValueError</title>
<updated>2011-06-15T10:13:13+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-06-15T09:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=039798a4d250665c66fd738dba4d07dc2ec70652'/>
<id>urn:sha1:039798a4d250665c66fd738dba4d07dc2ec70652</id>
<content type='text'>
(Bitbake rev: 9bff182a4ba9571679985b45b309990a6eddad14)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/codeparser: Improve cache handling</title>
<updated>2011-05-27T16:55:51+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-05-27T15:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fd005661443b327342b9542ab42177960e1a91a9'/>
<id>urn:sha1:fd005661443b327342b9542ab42177960e1a91a9</id>
<content type='text'>
The current codeparser cache handling hurts performance badly even
over a couple of cores and certainly on many core systems, it can
spent huge amounts of time in the codeparser cache save functions.

This patch reworks the cache handling so that each parsing thread
saves out its own "differences" file compared to any existing core
cache and then the main bitbake thread picks these up and merges
things back together.

This was tested on systems with small and large numbers of cores
and was found to perform orders of magnitude better in all cases
despite the more complex code.

(Bitbake rev: 9f27563d66523f5af1028f173d53ee75e0877d46)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>codeparser.py: fix syntax error in exception handling</title>
<updated>2011-05-24T16:16:47+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2011-05-13T16:46:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=32a4e746273c3c7d3dd0f13b745bc0679cadaa44'/>
<id>urn:sha1:32a4e746273c3c7d3dd0f13b745bc0679cadaa44</id>
<content type='text'>
Commit 036cf3cd11b3a6836b77f5ffa760ceee6b71b1ef missed the needed
brackets to handle more then a type of exception.

(Bitbake rev: abecbb4c0af83c6b4ee248b0f03b779f84b13390)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>codeparser.py: Ignore incomplete cache files</title>
<updated>2011-05-12T22:39:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-05-12T22:35:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=477934e5be44194a842352ab80c745606e6a922b'/>
<id>urn:sha1:477934e5be44194a842352ab80c745606e6a922b</id>
<content type='text'>
(Bitbake rev: 036cf3cd11b3a6836b77f5ffa760ceee6b71b1ef)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/codeparser: Correctly handle a missing/empty cache file</title>
<updated>2011-05-05T18:27:46+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-05-05T18:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=72875493b8bbb5d6793380ee71c6bca4f438ca04'/>
<id>urn:sha1:72875493b8bbb5d6793380ee71c6bca4f438ca04</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/cooker/codeparser: Ensure the code parser cache is saved for each parsing process</title>
<updated>2011-05-05T14:52:53+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-04-10T17:52:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c8928e93dd8a08d6768623f6491c9ba31d0aa06f'/>
<id>urn:sha1:c8928e93dd8a08d6768623f6491c9ba31d0aa06f</id>
<content type='text'>
Before this change, the codeparser cache was only being saved for the main
server process. This is suboptimal as it leaves code being re-evaluated at
task execution time and increases parse time.

We use the multiprocess Finalize() functionality to ensure each process
saves out its cache. We need to update the cache save function to be multiprocess
friendly with locking.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>codeparser: use ==, not 'is' to compare strings</title>
<updated>2011-03-31T11:23:19+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2011-03-08T18:54:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=626b96e255b6461e2bce209ecfc1ff110f65d54e'/>
<id>urn:sha1:626b96e255b6461e2bce209ecfc1ff110f65d54e</id>
<content type='text'>
(Bitbake rev: 8f5cf3a9975d8e6878e403be0e6edc22cc44f396)

Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/codeparser: fix raising of ShellSyntaxError</title>
<updated>2011-02-25T15:38:29+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2011-02-25T10:22:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=92d5e6c07fe850f03ab9e3a6786076bed6c3e34e'/>
<id>urn:sha1:92d5e6c07fe850f03ab9e3a6786076bed6c3e34e</id>
<content type='text'>
To raise the ShellSyntaxError we need to import it's module and reference it
by namespace.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>codeparser: fix spacing in diagnostic messages</title>
<updated>2011-01-12T13:47:08+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2011-01-11T18:21:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c405a3a13eb961365adb788e710fa26513605543'/>
<id>urn:sha1:c405a3a13eb961365adb788e710fa26513605543</id>
<content type='text'>
(Bitbake rev: 8c5555f5ed6d61db57de80d2820c8cec64a27239)

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/codeparser: Fix import to match upstream bitbake</title>
<updated>2011-01-10T13:24:05+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-01-10T13:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c036d1a5a0d90f8bbc274613d7ba800166fd46f1'/>
<id>urn:sha1:c036d1a5a0d90f8bbc274613d7ba800166fd46f1</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
