Commit Graph

18 Commits

Author SHA1 Message Date
Arnaldo Carvalho de Melo
19ca955ec6 [CMAKE]: Make the default install prefix be /usr/local
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
2007-04-19 18:01:47 -03:00
Arnaldo Carvalho de Melo
8615c1c416 [RPM]: 18th release
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
2007-04-03 09:15:02 -03:00
Arnaldo Carvalho de Melo
06a81a80ef [RPM]: 17th release
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
2007-04-02 10:18:39 -03:00
Arnaldo Carvalho de Melo
1a9cabdbf8 [RPM]: 16th release
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
2007-03-30 14:21:32 -03:00
Arnaldo Carvalho de Melo
75d0eb048e [RPM]: 15th release
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-02-26 13:45:45 -03:00
Arnaldo Carvalho de Melo
ce9d7e11fe [CTRACER]: Lots of improvements
1. We now use relayfs
2. ostra-cg is shipped and used in the Makefile
3. README.ctracer has all the details

I followed README.ctracer and the result, in my workstation, was this one:
http://oops.ghostprotocols.net:81/acme/dwarves/callgraphs/acme_eating_his_dog_food/6.html

I've started on the 6th page as it is more interesting, having tcp and netlink
callchains, don't be disappointed by some pages having just one level of
nesting, that is just the lack of containers and aliases (to follow tcp_sock,
skb->sk, etc) from the OSTRA days, but it's getting there! :-)

Ah, it is collecting all the base types in the specified struct by doing a
struct "view", i.e. trimming the struct to have just members that are
"reducible" to basic types (int, long, char, signed and unsigned), then
reorganizing it with the code introduced in pahole --reorganize to get it to
the best layout possible, reducing the size of the entry probe points trace
entries.

Updated rpms are available at the usual place:

http://oops.ghostprotocols.net:81/acme/dwarves/rpm/

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-02-02 15:15:27 -02:00
Arnaldo Carvalho de Melo
b7cad1782d [RPM]: Release 13
Adding pglobal and the latest advancements in pahole --reorganize.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-02-02 12:30:56 -02:00
Arnaldo Carvalho de Melo
26c1474b61 [CMAKE/RPM]: Fix build for x86-64
RPMS for FC6 x86-64 are available at:

http://oops.ghostprotocols.net:81/acme/dwarves/rpm/x86-64/

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-01-30 19:07:28 -02:00
Arnaldo Carvalho de Melo
8e236f4ca3 [PAHOLE]: Combine bitfields and demote the ones that have more bits than needed
This allows us to save 4 more bytes in struct task_struct, for instance, now we
need to combine whole bitfields with other fields if some bitfield has a size
less than sizeof(void *) and there is a suitable hole.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-01-30 16:55:19 -02:00
Arnaldo Carvalho de Melo
4a4b75e75a [PAHOLE]: Introduce --reorganize
Reorganizes structs with holes as non disruptively as possible to combine
holes, possibly reducing the struct size.

It doesn't yet combines bit holes, but will.

And will suggest type demotion in the bitfields case i.e. if there is a integer
(4) bytes bitfield that could fit on an short int bitfield or on a char
bitfield, it'll do just that 8)

Examples are available at:

http://oops.ghostprotocols.net:81/acme/dwarves/pahole--reorganize-ide-core-struct-hwif_s.pahole.txt
http://oops.ghostprotocols.net:81/acme/dwarves/pahole--reorganize-sched-struct-task_struct.pahole.txt
http://oops.ghostprotocols.net:81/acme/dwarves/pahole--reorganize-serial-struct-jsm_channel.pahole.txt

Also look at a more detailed description at my blog:

http://oops.ghostprotocols.net:81/blog/?p=49

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-01-30 13:32:55 -02:00
Arnaldo Carvalho de Melo
9555603666 [RPM]: 9th release
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-01-27 19:42:54 -02:00
Arnaldo Carvalho de Melo
8b8166f0a8 [RPM]: 8th release
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-01-27 08:57:52 -02:00
Arnaldo Carvalho de Melo
4138db6ebe [RPM]: New release with pdwtags
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
2007-01-18 21:15:54 -02:00
Arnaldo Carvalho de Melo
feb2e08c36 [RPM]: First fedora native build
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
2007-01-18 17:28:35 -02:00
Arnaldo Carvalho de Melo
348fdc8d1a [LIB]: Avoid emitting top level unnamed unions and structs
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2007-01-15 10:34:13 -02:00
Arnaldo Carvalho de Melo
0281ee673c [RPM]: New relase with the DW_TAG_reference work
Available at:

http://oops.ghostprotocols.net:81/acme/dwarves/rpm/

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2007-01-12 11:42:57 -02:00
Arnaldo Carvalho de Melo
81f16372eb [RPM]: Add description tag contents
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2007-01-12 11:04:54 -02:00
Arnaldo Carvalho de Melo
0e99883168 [RPM]: Add a spec file to build a rpm file
Quick instructions:

[acme@newtoy pahole]$ pwd
/home/acme/pahole
[acme@newtoy pahole]$ mkdir -p rpm/{BUILD,RPMS/i586,SOURCES,SRPMS}
[acme@newtoy pahole]$ tar cfj rpm/SOURCES/pahole-0.tar.bz2 $(cat MANIFEST)
[acme@newtoy pahole]$ rpmbuild --define "_topdir /home/acme/pahole/rpm" -v -ba rpm/SPECS/dwarves.spec
<SNIP>
Wrote: /home/acme/pahole/rpm/SRPMS/dwarves-0-1.src.rpm
Wrote: /home/acme/pahole/rpm/RPMS/i586/dwarves-0-1.i586.rpm
Wrote: /home/acme/pahole/rpm/RPMS/i586/libdwarves1-0-1.i586.rpm
Wrote: /home/acme/pahole/rpm/RPMS/i586/libdwarves-devel-0-1.i586.rpm
Wrote: /home/acme/pahole/rpm/RPMS/i586/dwarves-debug-0-1.i586.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.37631
+ umask 022
+ cd /home/acme/pahole/rpm/BUILD
+ cd dwarves-0
+ rm -rf /var/tmp/dwarves-0-root
+ exit 0
[acme@newtoy pahole]$

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2007-01-11 16:50:26 -02:00