You cannot 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
This fixes the use of classes_as_structs and probably other options, when
fprintf meets a pointer/reference type.

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