GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sevan/dwarves: Pahole and the dwarves

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

2,327 Commits
2,327 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
cmake/modules
cmake/modules
 
 
lib
lib
 
 
man-pages
man-pages
 
 
ostra
ostra
 
 
rpm/SPECS
rpm/SPECS
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CMakeLists.txt
CMakeLists.txt
 
 
COPYING
COPYING
 
 
MANIFEST
MANIFEST
 
 
NEWS
NEWS
 
 
PKG-MAINTAINERS
PKG-MAINTAINERS
 
 
README
README
 
 
README.DEBUG
README.DEBUG
 
 
README.btf
README.btf
 
 
README.cross
README.cross
 
 
README.ctracer
README.ctracer
 
 
README.tarball
README.tarball
 
 
btf_encoder.c
btf_encoder.c
 
 
btf_encoder.h
btf_encoder.h
 
 
btf_loader.c
btf_loader.c
 
 
btfdiff
btfdiff
 
 
buildcmd.sh
buildcmd.sh
 
 
changes-v1.13
changes-v1.13
 
 
changes-v1.16
changes-v1.16
 
 
changes-v1.17
changes-v1.17
 
 
changes-v1.18
changes-v1.18
 
 
changes-v1.19
changes-v1.19
 
 
changes-v1.20
changes-v1.20
 
 
changes-v1.21
changes-v1.21
 
 
changes-v1.22
changes-v1.22
 
 
changes-v1.23
changes-v1.23
 
 
changes-v1.24
changes-v1.24
 
 
changes-v1.25
changes-v1.25
 
 
changes-v1.26
changes-v1.26
 
 
changes-v1.27
changes-v1.27
 
 
changes-v1.28
changes-v1.28
 
 
changes-v1.29
changes-v1.29
 
 
changes-v1.30
changes-v1.30
 
 
changes-v1.31
changes-v1.31
 
 
codiff.c
codiff.c
 
 
config.h.cmake
config.h.cmake
 
 
ctf.h
ctf.h
 
 
ctf_encoder.c
ctf_encoder.c
 
 
ctf_encoder.h
ctf_encoder.h
 
 
ctf_loader.c
ctf_loader.c
 
 
ctfdwdiff
ctfdwdiff
 
 
ctracer.c
ctracer.c
 
 
dtagnames.c
dtagnames.c
 
 
dutil.c
dutil.c
 
 
dutil.h
dutil.h
 
 
dwarf_loader.c
dwarf_loader.c
 
 
dwarves.c
dwarves.c
 
 
dwarves.h
dwarves.h
 
 
dwarves_emit.c
dwarves_emit.c
 
 
dwarves_emit.h
dwarves_emit.h
 
 
dwarves_fprintf.c
dwarves_fprintf.c
 
 
dwarves_reorganize.c
dwarves_reorganize.c
 
 
dwarves_reorganize.h
dwarves_reorganize.h
 
 
elf_symtab.c
elf_symtab.c
 
 
elf_symtab.h
elf_symtab.h
 
 
elfcreator.c
elfcreator.c
 
 
elfcreator.h
elfcreator.h
 
 
fullcircle
fullcircle
 
 
gobuffer.c
gobuffer.c
 
 
gobuffer.h
gobuffer.h
 
 
hash.h
hash.h
 
 
libctf.c
libctf.c
 
 
libctf.h
libctf.h
 
 
list.h
list.h
 
 
pahole.c
pahole.c
 
 
pdwtags.c
pdwtags.c
 
 
pfunct.c
pfunct.c
 
 
pglobal.c
pglobal.c
 
 
prefcnt.c
prefcnt.c
 
 
rbtree.c
rbtree.c
 
 
rbtree.h
rbtree.h
 
 
regtest
regtest
 
 
scncopy.c
scncopy.c
 
 
syscse.c
syscse.c
 
 

Repository files navigation

Build instructions:

1. install cmake
2. mkdir build
3. cd build
4. cmake ..
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 -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.

  -DCMAKE_INSTALL_LIBDIR
    Default is to install to lib or lib64, use -DCMAKE_INSTALL_LIBDIR=
    when invoking cmake to specify another install location.

You may need to update the libbpf git submodule:

git submodule update --init --recursive

Testing:

Tests are available in the tests subdirectory and should be run prior to
submitting patches.  Patches that add functionality should add to tests
here also.  Tests can be run by

- running the scripts directly using a pre-existing vmlinux binary; i.e.
	cd tests ; vmlinux=/path/2/vmlinux ./tests
  (the vmlinux binary must contain DWARF to be converted to BTF)

- running the tests via local scripts in .github/scripts; i.e.
	bash .github/scripts/build-pahole.sh; \
	bash .github/scripts/build-kernel.sh; \
	bash .github/scripts/run-selftests.sh
- via GitHub actions: push a branch to a GitHub repo; actions will be
  triggered for build and test matching the above steps.  See the "Actions"
  tab in the github repo for info on job pass/fail and logs.

About

Pahole and the dwarves

Resources

Readme
GPL-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.