You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Alibek Omarov 0c09533dfc fprintf: preserve conf_fprintf pointer in tag__ptr_name 1 month ago
cmake/modules cmake: Add a module to find if obstack is in a separate library 9 months ago
lib libbpf: Update libbpf to the latest git HEAD 4 months ago
man-pages pahole: Introduce --compile to produce a compilable output 3 months ago
ostra ostra: Initial python3 conversion 3 years ago
rpm/SPECS pahole: Prep 1.23 6 months ago
.gitignore pahole: Add build dir, config.h to .gitignore 3 years ago
.gitmodules pahole: add libbpf as submodule under lib/bpf 3 years ago
CMakeLists.txt cmake: added psrcgen to install targets 1 month ago
COPYING [LICENSE]: Add COPYING file and add missing license info on some files 15 years ago
MANIFEST pahole: Prep 1.23 6 months ago
NEWS pahole: Prep 1.23 6 months ago
README README: Add documentation for -DBUILD_SHARED_LIBS 12 months ago
README.DEBUG README.DEBUG: Add an extra step to make the instructions cut'n'exec 5 years ago
README.btf v1.13: New release 3 years ago
README.cross README: Add instructions to do a cross build 2 years ago
README.ctracer ctracer: update README.ctracer, f9 has the dwarves 14 years ago
README.tarball README.tarball: Overcome --transform problem with symlinks 9 months ago
btf_encoder.c btf_encoder: Collect info of per-cpu variables from threads 2 months ago
btf_encoder.h btf_encoder: Collect info of per-cpu variables from threads 2 months ago
btf_loader.c libbpf: Update libbpf to the latest git HEAD 4 months ago
btfdiff btfdiff: Suppress alignment tags with BTF as well as with DWARF 7 months ago
buildcmd.sh buildcmd.sh: Add single build script for use in CI 9 months ago
changes-v1.13 v1.13: New release 3 years ago
changes-v1.16 dwarves: Prep v1.16 2 years ago
changes-v1.17 dwarves: Prep v1.17 2 years ago
changes-v1.18 dwarves: Prep v1.18 2 years ago
changes-v1.19 dwarves: Prep v1.19 2 years ago
changes-v1.20 pahole: Prep 1.20 1 year ago
changes-v1.21 pahole: Prep 1.21 1 year ago
changes-v1.22 pahole: Prep 1.22 9 months ago
changes-v1.23 pahole: Prep 1.23 6 months ago
codiff.c dwarves_fprintf: Move cacheline_size into struct conf_fprintf 7 months ago
config.h.cmake [DWARVES] Fixes a FIXME relating to a missing elf (libdw) symbol check. 14 years ago
ctf.h Adopt SPDX-License-Identifier 3 years ago
ctf_encoder.c strings: use BTF's string APIs for strings management 2 years ago
ctf_encoder.h Adopt SPDX-License-Identifier 3 years ago
ctf_loader.c dwarf_loader: Receive per-thread data on worker threads 4 months ago
ctfdwdiff ctfdwdiff: Don't ask for variables and inline expansions in pfunct 13 years ago
ctracer.c emit: Search for data structures using its type in addition to its name 4 months ago
dtagnames.c dwarves_fprintf: Move cacheline_size into struct conf_fprintf 7 months ago
dutil.c dutil: elf_symtab__new() doesn't need the GElf_Ehdr *ep argument 9 months ago
dutil.h dutil: Move DW_TAG_LLVM_annotation definition to dutil.h 6 months ago
dwarf_loader.c pahole: Avoid segfault when parsing bogus file 2 months ago
dwarves.c dwarves: Set errno if load fails in cus__load_files() 2 months ago
dwarves.h core: Ditch 'dwarves__active_loader' extern declaration, it was nuked 3 months ago
dwarves_emit.c emit: Notice type shadowing, i.e. multiple types with the same name (enum, struct, union, etc) 4 months ago
dwarves_emit.h emit: Search for data structures using its type in addition to its name 4 months ago
dwarves_fprintf.c fprintf: preserve conf_fprintf pointer in tag__ptr_name 1 month ago
dwarves_reorganize.c core: base_type__name() doesn't need a 'cu' arg 10 months ago
dwarves_reorganize.h Adopt SPDX-License-Identifier 3 years ago
elf_symtab.c elf_symtab: Remove needless GElf_Ehdr pointer argument from the constructor 9 months ago
elf_symtab.h elf_symtab: Remove needless GElf_Ehdr pointer argument from the constructor 9 months ago
elfcreator.c elfcreator: elfcreator_copy_scn() doesn't need the 'elf' arg 9 months ago
elfcreator.h elfcreator: elfcreator_copy_scn() doesn't need the 'elf' arg 9 months ago
fullcircle v1.13: New release 3 years ago
gobuffer.c gobuffer: Use zfree() and make delete accept NULL, like free() 1 year ago
gobuffer.h Adopt SPDX-License-Identifier 3 years ago
hash.h hash: Remove unused hash_32(), hash_ptr() 9 months ago
libctf.c elf_symtab: Remove needless GElf_Ehdr pointer argument from the constructor 9 months ago
libctf.h strings: use BTF's string APIs for strings management 2 years ago
list.h list: Adopt list_next_entry() from the Linux kernel 9 months ago
pahole.c btf_encoder: Collect info of per-cpu variables from threads 2 months ago
pdwtags.c psrcgen: make new tool derived from pdwtags 1 month ago
pfunct.c dwarf_loader: Receive per-thread data on worker threads 4 months ago
pglobal.c dwarves_fprintf: Move cacheline_size into struct conf_fprintf 7 months ago
prefcnt.c dwarves_fprintf: Move cacheline_size into struct conf_fprintf 7 months ago
psrcgen.c psrcgen: avoid include duplicates 1 month ago
rbtree.c Adopt SPDX-License-Identifier 3 years ago
rbtree.h Adopt SPDX-License-Identifier 3 years ago
regtest regtest: Accept --diff instad of plain 'diff' as long option 10 years ago
scncopy.c elfcreator: elfcreator_copy_scn() doesn't need the 'elf' arg 9 months ago
syscse.c syscse: zero_extend() doesn't need a 'cu' arg 9 months ago

README

Build instructions:

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

cmake Options:
-DBUILD_SHARED_LIBS
By default SHARED libraries are created and applications are linked to it.
Use -DBUILD_SHARED_LIBS=OFF while invoking cmake to create STATIC libraries
and link applications to it.

Ex. cmake -D__LIB=lib -DBUILD_SHARED_LIBS=OFF ..

-DCMAKE_INSTALL_PREFIX
Default is to install to /usr/local, use -DCMAKE_INSTALL_PREFIX=
when invoking cmake to specify another install location.

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