[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST] Stash debug symbols for build results



On Mon, 2013-10-28 at 15:46 +0000, Ian Jackson wrote:
> Ian Campbell writes ("[PATCH OSSTEST] Stash debug symbols for build results"):
> > Specifically xen-syms (2.5M) and the vmlinux (~90M) file. I'm not sure if 
> > 90M
> > is too big to be stashed, for reference kerndist.tar.gz is ~60M
> 
> I think doing this would reduce the length of time the other logs can
> be kept for by a factor of perhaps two.
> 
> Is xen-syms compressed ?

I don't think so, xen-syms and vmlinux are both raw ELF files.

Compressing with gzip -9 gives 939K and 44M respectively, which I
suspect is still too big. Woking's Debian is too old to have xz which I
would use otherwise (FWIW xz -6 on another system gives a 22M
vmlinux.xz)

The kernel has:
        config DEBUG_INFO_REDUCED
                bool "Reduce debugging information"
                depends on DEBUG_INFO
                help
                  If you say Y here gcc is instructed to generate less debugging
                  information for structure types. This means that tools that
                  need full debugging information (like kgdb or systemtap) won't
                  be happy. But if you merely need debugging information to
                  resolve line numbers there is no loss. Advantage is that
                  build directory object sizes shrink dramatically over a full
                  DEBUG_INFO build and compile times are reduced too.
                  Only works with newer gcc versions.

This seems like a good bet so I will try it.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.