drgn/libdrgn
Omar Sandoval 91f5c8e2e7 libdrgn: stack_trace: support unwinding stack from thread ID
When debugging the Linux kernel, it's inconvenient to have to get the
task_struct of a thread in order to get its stack trace. This adds
support for looking it up solely by PID. In that case, we do the
find_task() inside of libdrgn. This also gives us stack trace support
for userspace core dumps almost for free since we already added support
for NT_PRSTATUS.
2019-10-28 13:37:53 -07:00
..
build-aux libdrgn: add register information to platform 2019-10-18 14:33:02 -07:00
elfutils Update elfutils with new stack frame interface 2019-10-18 14:34:11 -07:00
include libdrgn: build with bundled elfutils 2019-09-19 11:07:12 -07:00
m4 libdrgn: build with bundled elfutils 2019-09-19 11:07:12 -07:00
python libdrgn: stack_trace: support unwinding stack from thread ID 2019-10-28 13:37:53 -07:00
.gitignore Document with Sphinx 2019-04-11 12:48:15 -07:00
arch_x86_64.c.in libdrgn: stack_trace: support unwinding stack from core dump 2019-10-28 13:36:02 -07:00
binary_search_tree.h libdrgn: add splay tree implementation 2019-05-24 17:48:08 -07:00
cityhash.h Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
configure.ac libdrgn: add register information to platform 2019-10-18 14:33:02 -07:00
Doxyfile Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
drgn.h.in libdrgn: stack_trace: support unwinding stack from thread ID 2019-10-28 13:37:53 -07:00
dwarf_index.c libdrgn: add environment variable to see more missing debug info errors 2019-10-02 17:22:12 -07:00
dwarf_index.h libdrgn: add environment variable to see more missing debug info errors 2019-10-02 17:22:12 -07:00
dwarf_info_cache.c libdrgn: work around DW_AT_upper_bound of -1 for empty arrays 2019-10-18 03:18:21 -07:00
dwarf_info_cache.h libdrgn: dwarf_index: rework file reporting 2019-10-02 17:22:11 -07:00
error.c Get rid of DRGN_ERROR_{ELF,DWARF}_ERROR and FileFormatError 2019-08-15 15:03:42 -07:00
error.h libdrgn: use libdwfl 2019-07-15 12:27:48 -07:00
hash_table.c Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
hash_table.h libdrgn: hash_table: fix memcmp() undefined behavior 2019-10-02 17:16:43 -07:00
helpers.h Translate find_task() helper (and dependencies) to C 2019-10-28 13:08:57 -07:00
internal.c libdrgn: dwarf_index: rework file reporting 2019-10-02 17:22:11 -07:00
internal.h libdrgn: dwarf_index: rework file reporting 2019-10-02 17:22:11 -07:00
kdump.c Add support for kdump-compressed core dumps with libkdumpfile 2019-08-02 00:20:16 -07:00
language_c.c libdrgn: add a couple of helpers for working with buffer and reference objects 2019-10-28 11:34:08 -07:00
language.h libdrgn: make type index pluggable with callbacks 2019-05-06 14:55:34 -07:00
lexer.c libdrgn: use common vector where applicable 2019-07-15 12:27:16 -07:00
lexer.h libdrgn: use common vector where applicable 2019-07-15 12:27:16 -07:00
linux_kernel_helpers.c Translate find_task() helper (and dependencies) to C 2019-10-28 13:08:57 -07:00
linux_kernel.c libdrgn: dwarf_index: rework file reporting 2019-10-02 17:22:11 -07:00
linux_kernel.h libdrgn: dwarf_index: rework file reporting 2019-10-02 17:22:11 -07:00
Makefile.am Translate find_task() helper (and dependencies) to C 2019-10-28 13:08:57 -07:00
memory_reader.c libdrgn: reorder drgn_error_create_os() arguments 2019-07-11 16:12:56 -07:00
memory_reader.h libdrgn: use splay tree for memory reader 2019-05-24 17:48:08 -07:00
object_index.c libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
object_index.h libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
object.c libdrgn: add drgn_object_read_integer() 2019-10-28 13:06:38 -07:00
object.h libdrgn: add a couple of helpers for working with buffer and reference objects 2019-10-28 11:34:08 -07:00
path.c libdrgn: make program components pluggable 2019-05-10 12:41:07 -07:00
platform.c libdrgn: add register information to platform 2019-10-18 14:33:02 -07:00
platform.h libdrgn: stack_trace: support unwinding stack from core dump 2019-10-28 13:36:02 -07:00
program.c libdrgn: stack_trace: support unwinding stack from core dump 2019-10-28 13:36:02 -07:00
program.h libdrgn: stack_trace: support unwinding stack from thread ID 2019-10-28 13:37:53 -07:00
read.h libdrgn: only load debug information from loaded kernel modules 2019-05-14 11:55:39 -07:00
serialize.c Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
serialize.h Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
siphash.h Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
splay_tree.c libdrgn: add splay tree implementation 2019-05-24 17:48:08 -07:00
stack_trace.c libdrgn: stack_trace: support unwinding stack from thread ID 2019-10-28 13:37:53 -07:00
string_builder.c libdrgn: move string_builder_line_break() to string_builder.c 2019-07-11 15:33:10 -07:00
string_builder.h libdrgn: move string_builder_line_break() to string_builder.c 2019-07-11 15:33:10 -07:00
symbol.c libdrgn: add symbol table interface 2019-07-30 09:25:34 -07:00
symbol.h libdrgn: add symbol table interface 2019-07-30 09:25:34 -07:00
type_index.c libdrgn: indicate finder lookup failure with special error 2019-07-29 17:04:47 -07:00
type_index.h libdrgn: revamp hash table API 2019-05-24 17:48:05 -07:00
type.c libdrgn: revamp hash table API 2019-05-24 17:48:05 -07:00
type.h libdrgn: make type index pluggable with callbacks 2019-05-06 14:55:34 -07:00
vector.c libdrgn: work around Clang __muloti4 again 2019-07-29 17:03:45 -07:00
vector.h libdrgn: add common vector implementation 2019-07-15 12:27:15 -07:00