Skip to content

Commit 2bbe6ef

Browse files
oskarkookhappi
authored andcommitted
Use etp's name from etp-help
I found that in etp-help, the meaning for the acronym is "Emulator Toolbox for Pathologists". https://github.com/erlang/otp/blob/30967e3dd804f8ca32ad000cc38d69e12bf7494b/erts/etc/unix/etp-commands.in#L38C3-L40
1 parent ebda51a commit 2bbe6ef

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

chapters/debugging.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -778,10 +778,10 @@ those you own. How to reconfigure this is out of scope for this book.
778778

779779
GDB macros can automate repetitive tasks and provide shortcuts for complex
780780
commands, enhancing the efficiency of your debugging sessions. The Erlang
781-
runtime includes a set of predefined GDB macros, known as the Erlang
782-
Pathologist Toolkit (ETP), which facilitate the inspection of various
783-
aspects of the BEAM, such as internal BEAM structures, process states,
784-
memory allocation, and scheduling information.
781+
runtime includes a set of predefined GDB macros, known as the Emulator Toolbox
782+
for Pathologists (ETP), which facilitate the inspection of various aspects of
783+
the BEAM, such as internal BEAM structures, process states, memory allocation,
784+
and scheduling information.
785785

786786
The ETP macros can be found in `erts/etc/unix/etp-commands`. They are
787787
automatically loaded into your GDB session when you launch it via the

chapters/processes.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ The shell helper `c:bt(Pid)` is just a convenience wrapper around `erlang:proces
469469
Combined with `process_info` items such as `memory` or `reductions`,
470470
these queries give a view of a process’s stack, heap, and PCB-like fields.
471471

472-
For a deeper, byte-level view the runtime ships with the **Erlang Toolkit for Pathologist (EPT)**—a collection of GDB macros (`etp-stackdump`, `etp-heapdump`, `etp-process-info`, and friends) that walk live BEAM data structures in a paused VM or core dump.
472+
For a deeper, byte-level view the runtime ships with the **Emulator Toolbox for Pathologists (ETP)**—a collection of GDB macros (`etp-stackdump`, `etp-heapdump`, `etp-process-info`, and friends) that walk live BEAM data structures in a paused VM or core dump.
473473

474474
See xref:AP-BuildingERTS[] for more information on how to build the a debug version of the
475475
Erlang runtime system with ETP support.

0 commit comments

Comments
 (0)