How to Install and Uninstall dwarves.src Package on Oracle Linux 9
Last updated: January 17,2025
1. Install "dwarves.src" package
This is a short guide on how to install dwarves.src on Oracle Linux 9
$
sudo dnf update
Copied
$
sudo dnf install
dwarves.src
Copied
2. Uninstall "dwarves.src" package
Please follow the instructions below to uninstall dwarves.src on Oracle Linux 9:
$
sudo dnf remove
dwarves.src
Copied
$
sudo dnf autoremove
Copied
3. Information about the dwarves.src package on Oracle Linux 9
Last metadata expiration check: 2:14:50 ago on Thu Feb 15 07:50:05 2024.
Available Packages
Name : dwarves
Version : 1.25
Release : 1.el9
Architecture : src
Size : 2.2 M
Source : None
Repository : ol9_appstream
Summary : Debugging Information Manipulation Tools (pahole & friends)
URL : http://acmel.wordpress.com
License : GPLv2
Description : dwarves is a set of tools that use the debugging information inserted in
: ELF binaries by compilers such as GCC, used by well known debuggers such as
: GDB, and more recent ones such as systemtap.
:
: Utilities in the dwarves suite include pahole, that can be used to find
: alignment holes in structs and classes in languages such as C, C++, but not
: limited to these.
:
: It also extracts other information such as CPU cacheline alignment, helping
: pack those structures to achieve more cache hits.
:
: These tools can also be used to encode and read the BTF type information format
: used with the Linux kernel bpf syscall, using 'pahole -J' and 'pahole -F btf'.
:
: A diff like tool, codiff can be used to compare the effects changes in source
: code generate on the resulting binaries.
:
: Another tool is pfunct, that can be used to find all sorts of information about
: functions, inlines, decisions made by the compiler about inlining, etc.
:
: One example of pfunct usage is in the fullcircle tool, a shell that drivers
: pfunct to generate compileable code out of a .o file and then build it using
: gcc, with the same compiler flags, and then use codiff to make sure the
: original .o file and the new one generated from debug info produces the same
: debug info.
:
: Pahole also can be used to use all this type information to pretty print raw data
: according to command line directions.
:
: Headers can have its data format described from debugging info and offsets from
: it can be used to further format a number of records.
:
: The btfdiff utility compares the output of pahole from BTF and DWARF to make
: sure they produce the same results.
Available Packages
Name : dwarves
Version : 1.25
Release : 1.el9
Architecture : src
Size : 2.2 M
Source : None
Repository : ol9_appstream
Summary : Debugging Information Manipulation Tools (pahole & friends)
URL : http://acmel.wordpress.com
License : GPLv2
Description : dwarves is a set of tools that use the debugging information inserted in
: ELF binaries by compilers such as GCC, used by well known debuggers such as
: GDB, and more recent ones such as systemtap.
:
: Utilities in the dwarves suite include pahole, that can be used to find
: alignment holes in structs and classes in languages such as C, C++, but not
: limited to these.
:
: It also extracts other information such as CPU cacheline alignment, helping
: pack those structures to achieve more cache hits.
:
: These tools can also be used to encode and read the BTF type information format
: used with the Linux kernel bpf syscall, using 'pahole -J' and 'pahole -F btf'.
:
: A diff like tool, codiff can be used to compare the effects changes in source
: code generate on the resulting binaries.
:
: Another tool is pfunct, that can be used to find all sorts of information about
: functions, inlines, decisions made by the compiler about inlining, etc.
:
: One example of pfunct usage is in the fullcircle tool, a shell that drivers
: pfunct to generate compileable code out of a .o file and then build it using
: gcc, with the same compiler flags, and then use codiff to make sure the
: original .o file and the new one generated from debug info produces the same
: debug info.
:
: Pahole also can be used to use all this type information to pretty print raw data
: according to command line directions.
:
: Headers can have its data format described from debugging info and offsets from
: it can be used to further format a number of records.
:
: The btfdiff utility compares the output of pahole from BTF and DWARF to make
: sure they produce the same results.