diff options
author | Mark Wielaard <mjw@redhat.com> | 2013-12-20 10:09:12 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2013-12-23 22:57:22 +0100 |
commit | e962ec3bcbe8eccdcded36aaafee7bec41fa1bc4 (patch) | |
tree | d250cd9aecff3f8e539b301398027b1fc0a25c46 /NEWS | |
parent | b6ef1ce4695cea00d097c7fcac8d0014ff01a5bf (diff) | |
download | elfutils-e962ec3bcbe8eccdcded36aaafee7bec41fa1bc4.tar.gz |
libdwfl: Add dwfl_getthread_frames.
dwfl_getthread_frames is a convenience function for when the user is only
interested in one specific thread id of a process. It can be implemented by
a simple wrapper function that removes an extra callback layer just to
filter on thread id. But it also provides an optimized path to getting
access to just one particular Dwfl_Thread of the Dwfl process by providing
and (optional) new callback for the state provider. The pid_thread_callbacks
now provide an (optional) pid_getthread that doesn't need to travers all
threads anymore. Which is implemented for the linux-pid-attach provider.
stack now uses this to implement a new '-1' option that shows just one
specific thread of a process.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -7,10 +7,13 @@ libdwfl: dwfl_core_file_report has new parameter executable. Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state, dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread, dwfl_thread_state_registers, dwfl_thread_state_register_pc, - dwfl_getthreads, dwfl_thread_getframes and dwfl_frame_pc. + dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes + and dwfl_frame_pc. addr2line: New option -x to show the section an address was found in. +stack: New utility that uses the new unwinder for processes and cores. + Version 0.157 libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr |