summaryrefslogtreecommitdiffstats
path: root/runtime/unwind.c
Commit message (Collapse)AuthorAgeFilesLines
* Privatize MAX_STACK_DEPTHJosh Stone2009-04-161-1/+1
| | | | | | The kernel-tip tree also has a MAX_STACK_DEPTH defined in perf_counter.h, so we need to separate our definition. I've changed the definition in our unwinder to STP_MAX_STACK_DEPTH.
* Fix unwind _stp_mod_sec_lookup.Mark Wielaard2009-04-101-1/+1
| | | | * runtime/unwind.c (unwind): Pass current to _stp_mod_sec_lookup().
* Removed unused functions and variables.David Smith2009-02-181-124/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-18 David Smith <dsmith@redhat.com> * io.c (_stp_log): Removed unused function. * map.c (_stp_cmp): Replace _stp_log() with dbug(). * mempool.c (_stp_mempool_resize): Removed unused function. * print.c (next_fmt): Removed unused function. * procfs.c: Removed unused variable '_stp_num_procfs_files'. * regs.c (_stp_ret_addr): Removed unused function. * string.c (_stp_text_str): Removed unused variable 'len'. * string.h: Removed unused variable '_stdout_' and function declaration for deleted function '_stp_vsprintf'. * sym.c: Removed unused variables. * unwind.c (_stp_create_unwind_hdr): Removed unused function. 2009-02-18 David Smith <dsmith@redhat.com> * control.c: Removed unused variable '_stp_current_buffers'. * procfs.c (_stp_set_buffers): Removed unused function. (_stp_register_ctl_channel_fs): Removed unused variables and label. * symbols.c (u32_swap): Removed unused function. (generic_swap): Ditto. (_stp_sort): Ditto. (_stp_section_is_interesting): Ditto. * transport.c (_stp_transport_init): Removed unused variable 'ret'.
* Use 'static' as much as possibleJosh Stone2009-01-281-2/+2
| | | | | | | | | | This change just inserts 'static' on runtime, tapset, and generated C functions and globals, so the compiler can do a better job of optimizing. My tests with small scripts show ~10% reduction in compile time and ~20% reduction in module size. Larger scripts may show less benefit, but I expect purely positive results.
* Rename _stp_module module_base output to dwarf_module_base and document.Mark Wielaard2008-09-101-2/+4
|
* Record module base and use it for adjusting start locations in dwarf unwinder.Mark Wielaard2008-09-101-3/+24
|
* Feed dwarf unwinder data through _stp_mod_sec_lookup (), but disabled for now.Mark Wielaard2008-09-101-1/+2
|
* emit all symbol tables at compile time; don't do any module munging; new ↵Frank Ch. Eigler2008-07-041-14/+3
| | | | unwinder still disabled
* PR6410: unwinder-less architecture toleranceFrank Ch. Eigler2008-04-151-0/+5
|
* dded _stp_read_address() and changed code to use it.Martin Hunt2008-03-281-13/+4
|
* kretprobe trampoline fixesMartin Hunt2008-03-281-12/+74
| | | | | Recognize when a kretprobe trampoline was hit and continue with inexact stack dump. Also some testsuite changes.
* i386 fixes.Martin Hunt2008-03-261-1/+1
|
* Cleanup.Martin Hunt2008-03-251-48/+59
|
* rebased unwind_branch on top of current masterFrank Ch. Eigler2008-03-251-0/+895