Go to file
Arnaldo Carvalho de Melo ac7778099a pahole: Introduce --fixup_silly_bitfields
$ pahole -C acpi_device_perf_flags ac.o
struct acpi_device_perf_flags {
	u8          reserved:8;           /*     0: 0  1 */

	/* size: 1, cachelines: 1, members: 1 */
	/* last cacheline: 1 bytes */
};
$ pahole --fixup_silly_bitfields -C acpi_device_perf_flags ac.o
struct acpi_device_perf_flags {
	u8          reserved;             /*     0     1 */

	/* size: 1, cachelines: 1, members: 1 */
	/* last cacheline: 1 bytes */
};
$

Used in ctfdwdiff as in CTF land we can't express such sillyness.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-03-20 13:54:04 -03:00
cmake/modules cmake: check if in RHEL and ask for the same packages as in fedora if so 2008-11-20 13:55:05 -02:00
lib [LICENSE]: Add COPYING file and add missing license info on some files 2007-12-17 14:15:42 -02:00
man-pages pahole: Introduce --fixup_silly_bitfields 2009-03-20 13:54:04 -03:00
ostra [OSTRA]: Change ostra-cg license to GPLv2 2007-12-24 12:25:17 -02:00
rpm/SPECS rpm: Own %{_datadir}/dwarves/ 2009-02-16 11:04:49 -03:00
CMakeLists.txt ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
codiff.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
config.h.cmake [DWARVES] Fixes a FIXME relating to a missing elf (libdw) symbol check. 2008-02-12 21:08:49 -02:00
COPYING [LICENSE]: Add COPYING file and add missing license info on some files 2007-12-17 14:15:42 -02:00
ctf_encoder.c ctf_encoder: Allow encoding a bit_size in enumeration types 2009-03-20 12:51:30 -03:00
ctf_encoder.h ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
ctf_loader.c ctf_loader: enums can have a bit_size less than 8 * size(int) 2009-03-20 12:48:25 -03:00
ctf_loader.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
ctf.h libctf: Use the same coding style as the dwarves 2008-09-25 16:01:26 -03:00
ctfdwdiff pahole: Introduce --fixup_silly_bitfields 2009-03-20 13:54:04 -03:00
ctracer.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
dtagnames.c coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
dutil.c dutil: Move zalloc to dutil 2009-03-18 11:08:23 -03:00
dutil.h dutil: Move zalloc to dutil 2009-03-18 11:08:23 -03:00
dwarf_loader.c pahole: Introduce --fixup_silly_bitfields 2009-03-20 13:54:04 -03:00
dwarf_loader.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
dwarves_emit.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
dwarves_emit.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
dwarves_reorganize.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
dwarves_reorganize.h class_member: cache the byte size of the member 2009-03-17 14:31:18 -03:00
dwarves.c base_type: floats are 32 bits 2009-03-20 13:38:03 -03:00
dwarves.h pahole: Introduce --fixup_silly_bitfields 2009-03-20 13:54:04 -03:00
gobuffer.c gobuffer: Introduce gobuffer__allocate 2009-03-18 22:14:55 -03:00
gobuffer.h gobuffer: Introduce gobuffer__allocate 2009-03-18 22:14:55 -03:00
hash.h [DWARVES]: Use a hash table for the tags in a CU 2008-02-11 11:47:17 -02:00
libctf.c ctf_encoder: Check if something was encoded before saving the info 2009-03-20 13:20:24 -03:00
libctf.h ctf_encoder: Allow encoding a bit_size in enumeration types 2009-03-20 12:51:30 -03:00
list.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
MANIFEST pahole: finally the beginnings of a man page 2009-02-11 12:19:46 -02:00
NEWS [NEWS]: Update entry about the --separator new option 2007-05-23 16:27:33 -03:00
pahole.c pahole: Introduce --fixup_silly_bitfields 2009-03-20 13:54:04 -03:00
pdwtags.c pdwtags: cu->types_tables can have some NULL slots 2009-03-16 15:55:48 -03:00
pfunct.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
pglobal.c dwarves: the variable abstract_origin is resolved at load time too 2009-03-14 15:19:33 -03:00
prefcnt.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
README [CMAKE]: Make the default install prefix be /usr/local 2007-04-19 18:01:47 -03:00
README.ctracer ctracer: update README.ctracer, f9 has the dwarves 2008-10-29 08:54:53 -02:00
strings.c strings: Allow calling strings__delete with a NULL pointer 2009-03-20 10:35:57 -03:00
strings.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
syscse.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00

Build instructions:

1. install cmake
2. mkdir build
3. cd build
4. cmake -D__LIB=lib ..
5. make install

Default is to be installed on /usr/local, see rpm spec file for
installing on other places.

Known to work scenarios:

Mandriva Cooker:

cmake 2.4.5-1mdv2007.1
libelfutils1-devel 0.123-1mdv2007.1

Debian Unstable:

cmake 2.4.5-1
libdw-dev 0.123-2

Fedora Core 6:

cmake 2.4.5-2.fc6
elfutils-devel 0.126-1.fc6