Commit Graph

55 Commits

Author SHA1 Message Date
Arnaldo Carvalho de Melo ded72c80bd [DTAGNAMES]: 6th dwarf
Just dump the tag names, simple utility to help rework classes abstractions to
reduce memory footprint:

[acme@newtoy pahole]$ dtagnames /pub/scm/linux/kernel/git/acme/OUTPUT/qemu/linux-2.6/vmlinux | sort | uniq -c | sort -nr
size: 110832408
 207882 formal_parameter
 167305 pointer_type
 106945 structure_type
  82200 subroutine_type
  44130 typedef
  28372 array_type
   9121 const_type
   7940 union_type
   6572 base_type
   1690 enumeration_type
    894 volatile_type
[acme@newtoy pahole]$

Argh, the 'struct class' catchall uses way too many memory for non
'structure_type' classes, work to do to reduce the current 105MB memory
footprint for processing a qemu vmlinux.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-28 14:03:42 -02:00
Arnaldo Carvalho de Melo 79206c3a22 [CMAKE]: Move the debug setting to the right place
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-23 13:16:30 -02:00
Arnaldo Carvalho de Melo a4f099385b [CTRACER]: New tool
A class tracer, it looks for non-inline functions that receive as one of its
parameters a pointer to the specified "class" (a struct) and will generate a
kprobes kernel module, see the whole sequence in the README.ctracer file.

Next steps involve supporting kretprobes, inserting kprobes at each inline
"method" expansion, using relayfs, and eventually uprobes to make this useful
for userspace as well.

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-20 12:16:16 -02:00
KOVACS Krisztian 9276e7d7f4 [CMAKE]: Fix build on debian unstable
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-20 10:16:45 -02:00
Helio Chissini de Castro 75a3425a9a [MAKEFILE]: Use cmake in the build process
Signed-off-by: Helio Chissini de Castro <helio@mandriva.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-12 00:37:23 -02:00