Skip to content

Commit ef6d505

Browse files
Explorer09MrCirdoBenBE
committed
doc: Update for backtrace feature
Co-authored-by: Odric Roux-Paris <[email protected]> Co-authored-by: Benny Baumann <[email protected]> Signed-off-by: Kang-Che Sung <[email protected]>
1 parent 4fc2efb commit ef6d505

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,17 @@ To install on the local system run `make install`. By default `make install` ins
102102
enable hwloc support for CPU affinity; disables affinity support
103103
- dependency: *libhwloc*
104104
- default: *no*
105+
* `--enable-backtrace`:
106+
enable showing backtraces of a process
107+
- default: *no*
108+
- possible values:
109+
- unwind-ptrace: use **libunwind-ptrace** to get backtraces
110+
* `--enable-demangling`:
111+
enable demangling support for backtraces
112+
- default: *check*
113+
- possible values:
114+
- libiberty: use **libiberty** (GNU) to demangle function names
115+
- libdemangle: use **libdemangle** (Solaris) to demangle function names
105116
* `--enable-static`:
106117
build a static htop binary; hwloc and delay accounting are not supported
107118
- default: *no*

htop.1.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,10 @@ Pause/resume process updates.
279279
.B m
280280
Merge exe, comm and cmdline, where applicable. (This is a toggle key.)
281281
.TP
282+
.B b
283+
Show the backtrace of a process. (This feature requires enabling
284+
at the compile time.)
285+
.TP
282286
.B Ctrl-L
283287
Refresh: redraw screen and recalculate values.
284288
.TP

0 commit comments

Comments
 (0)