Re: [OE-core] [PATCH] insane: Rationalise phdrs-based QA checks

2012-10-18 Thread Saul Wold
On 10/01/2012 10:29 AM, Phil Blundell wrote: Various different QA checks are based on essentially the same data from the ELF program headers. Calling objdump to extract it repeatedly is inefficient, particularly if the shell is involved. Instead, let's cache the output from objdump inside the q

Re: [OE-core] [PATCH] insane: Rationalise phdrs-based QA checks

2012-10-17 Thread Khem Raj
On Oct 17, 2012, at 1:39 PM, Phil Blundell wrote: > On Tue, 2012-10-16 at 20:14 +0100, Phil Blundell wrote: >> On Tue, 2012-10-16 at 11:29 -0700, Saul Wold wrote: >>> On 10/15/2012 03:32 AM, Phil Blundell wrote: On Sun, 2012-10-14 at 14:45 -0700, Saul Wold wrote: > On 10/01/2012 10:29 A

Re: [OE-core] [PATCH] insane: Rationalise phdrs-based QA checks

2012-10-17 Thread Phil Blundell
On Tue, 2012-10-16 at 20:14 +0100, Phil Blundell wrote: > On Tue, 2012-10-16 at 11:29 -0700, Saul Wold wrote: > > On 10/15/2012 03:32 AM, Phil Blundell wrote: > > > On Sun, 2012-10-14 at 14:45 -0700, Saul Wold wrote: > > >> On 10/01/2012 10:29 AM, Phil Blundell wrote: > > >>> Various different QA c

Re: [OE-core] [PATCH] insane: Rationalise phdrs-based QA checks

2012-10-16 Thread Phil Blundell
On Tue, 2012-10-16 at 11:29 -0700, Saul Wold wrote: > On 10/15/2012 03:32 AM, Phil Blundell wrote: > > On Sun, 2012-10-14 at 14:45 -0700, Saul Wold wrote: > >> On 10/01/2012 10:29 AM, Phil Blundell wrote: > >>> Various different QA checks are based on essentially the same data from > >>> the ELF pr

Re: [OE-core] [PATCH] insane: Rationalise phdrs-based QA checks

2012-10-16 Thread Saul Wold
On 10/15/2012 03:32 AM, Phil Blundell wrote: On Sun, 2012-10-14 at 14:45 -0700, Saul Wold wrote: On 10/01/2012 10:29 AM, Phil Blundell wrote: Various different QA checks are based on essentially the same data from the ELF program headers. Calling objdump to extract it repeatedly is inefficient

Re: [OE-core] [PATCH] insane: Rationalise phdrs-based QA checks

2012-10-15 Thread Phil Blundell
On Sun, 2012-10-14 at 14:45 -0700, Saul Wold wrote: > On 10/01/2012 10:29 AM, Phil Blundell wrote: > > Various different QA checks are based on essentially the same data from > > the ELF program headers. Calling objdump to extract it repeatedly is > > inefficient, particularly if the shell is invo

Re: [OE-core] [PATCH] insane: Rationalise phdrs-based QA checks

2012-10-14 Thread Saul Wold
On 10/01/2012 10:29 AM, Phil Blundell wrote: Various different QA checks are based on essentially the same data from the ELF program headers. Calling objdump to extract it repeatedly is inefficient, particularly if the shell is involved. Instead, let's cache the output from objdump inside the q

[OE-core] [PATCH] insane: Rationalise phdrs-based QA checks

2012-10-01 Thread Phil Blundell
Various different QA checks are based on essentially the same data from the ELF program headers. Calling objdump to extract it repeatedly is inefficient, particularly if the shell is involved. Instead, let's cache the output from objdump inside the qa.elf object and allow it to be reused by multi