dwarves.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* codiff new features
@ 2009-03-03 14:09 Arnaldo Carvalho de Melo
  0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2009-03-03 14:09 UTC (permalink / raw)
  To: Ilpo Järvinen; +Cc: dwarves-u79uwXL29TY76Z2rM5mHXA

Hi,

	This is just to let you know about some new features in codiff:

commit dc5592b84424025171bf6b12d4660de5cfef76a3
Author: Arnaldo Carvalho de Melo <acme-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date:   Tue Mar 3 10:55:25 2009 -0300

    codiff: Detect changes in padding and the number of holes/bit_holes
    
    $ codiff -V /tmp/pahole.old build/pahole
    /home/acme/git/pahole/pahole.c:
      struct tag |   +0
       padding: +2
        refcnt
         removed: uint16_t              /*    56( 0)     2( 0) */
        recursivity_level
         from:    uint16_t              /*    58( 0)     2( 0) */
         to:      uint16_t              /*    56( 0)     2(15) */
        visited
         added:   uint16_t              /*    56(15)     2( 1) */
     1 struct changed
    
    Size is the same, but now we have padding (2 bytes).

commit 585075767171d52240457eaed58e3d1eb4823f7d
Author: Arnaldo Carvalho de Melo <acme-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date:   Tue Mar 3 10:31:14 2009 -0300

    codiff: improve detection removal and addition of members in structs
    
    Consider this case:
    
    $ codiff -V /tmp/pahole.old build/pahole
    /home/acme/git/pahole/pahole.c:
      struct tag |   +0
        refcnt
         removed: uint16_t              /*    56( 0)     2( 0) */
        recursivity_level
         from:    uint16_t              /*    58( 0)     2( 0) */
         to:      uint16_t              /*    56( 0)     2(15) */
        used
         added:   uint16_t              /*    56(15)     2( 1) */
     1 struct changed
    
    The number of members is the same and so is the size of the struct, but
    'refcnt' was removed (in fact renamed to used) and 'used' was added.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-03 14:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-03 14:09 codiff new features Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).