summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
| * Change stap to get kernel symbols from debuginfo andMartin Hunt2008-04-092-4/+25
| | | | | | | | compile them into the module.
| * Add new define STP_USE_DWARF_UNWINDER which is set based on which archsMartin Hunt2008-03-314-5/+17
| | | | | | | | work with the unwinder.
| * Remove misleading error message.Martin Hunt2008-03-312-1/+4
| |
| * Support for kernels built with CONFIG_FRAME_POINTERMartin Hunt2008-03-3010-9/+36
| |
| * Fix regression.Martin Hunt2008-03-281-1/+1
| |
| * dded _stp_read_address() and changed code to use it.Martin Hunt2008-03-286-24/+38
| |
| * kretprobe trampoline fixesMartin Hunt2008-03-286-39/+111
| | | | | | | | | | Recognize when a kretprobe trampoline was hit and continue with inexact stack dump. Also some testsuite changes.
| * i386 fixes.Martin Hunt2008-03-265-40/+57
| |
| * control.c (_stp_ctl_write_dbug): Insert missing break.Martin Hunt2008-03-252-0/+4
| |
| * 32-bit fixesMartin Hunt2008-03-253-6/+11
| |
| * Cleanup.Martin Hunt2008-03-255-52/+90
| |
| * add (back) runtime/unwind filesFrank Ch. Eigler2008-03-253-0/+340
| |
| * rebased unwind_branch on top of current masterFrank Ch. Eigler2008-03-2536-2533/+1600
| |
* | Merge branch 'master' of ssh://hiramatu@sources.redhat.com/git/systemtapMasami Hiramatsu2008-04-042-0/+415
|\ \ | | | | | | | | | | | | | | | Conflicts: runtime/ChangeLog
| * | 2008-04-04 David Smith <dsmith@redhat.com>David Smith2008-04-042-0/+415
| | | | | | | | | | | | | | | PR 5961 (partial) * task_finder.c: New file.
* | | 2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>Masami Hiramatsu2008-04-043-7/+18
|/ / | | | | | | | | | | | | | | | | | | | | PR 6028 * translate.cxx (c_unparser::emit_common_header): Add unwaddr for caching unwound address. * tapsets.cxx (common_probe_entryfn_prologue): Clear unwaddr. * loc2c-runtime.h (fetch_register): Call ia64_fetch_register with the address of c->unwaddr. * regs-ia64.c (ia64_fetch_register): Don't unwind stack if it has already unwound stack in same probe.
* / removing another part of retired LKETFrank Ch. Eigler2008-04-016-1599/+4
|/
* 2008-03-17 Eugene Teo <eteo@redhat.com>eteo2008-03-172-1/+7
| | | | | | PR 5947 * autoconf-tsc-khz.c: Remove "&& defined(__i386__)" to make the test more pessimistic.
* 2008-03-14 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-03-152-0/+9
| | | | | | | | | | | PR 3542 * buildrun.cxx (compile_pass): Add an autoconf to check the kernel supports batch unregistration. * tapsets.cxx (dwarf_derived_probe_group::emit_module_decls): Add an array of probe pointers for batch unregistration. * tapsets.cxx (dwarf_derived_probe_group::emit_module_exit): Use unregister_k(ret)probes if it is supported. * runtime/autoconf-unregister-kprobes.c : New file.
* 2008-03-10 Dave Brolley <brolley@redhat.com>brolley2008-03-103-4/+30
| | | | | | | | PR5189 * vsprintf.c (_stp_vsnprintf): Arguments for dynamic width and precision are of type 'int' again. * loc2c-runtime.h (deref_string): Copy the data only if dst is not NULL. (deref_buffer): New macro.
* 2008-02-27 Martin Hunt <hunt@redhat.com>hunt2008-02-2716-551/+760
| | | | | | | | | | | | | | | | | | | | | | | | | | | * sym.h (_stp_module): Add text_size, lock, and unwind data pointer. * sym.c (_stp_find_module_by_addr): New function. (_stp_kallsyms_lookup): Call _stp_find_module_by_addr(). (_stp_get_unwind_info): New. * runtime.h: Move debug macros to debug.h. Include it. * debug.h: New file. * map.c: Update debug calls. * map-gen.c: Update debug calls. * pmap-gen.c: Update debug calls. * mempool.c: New file. * symbols.c: Use rwlocks. Use new dbug macros. Handle unwind info if present. * transport.c: Include mempool.c. Update dbug and kbug calls to new macros. * transport_msgs.h (_stp_command_name): Add struct containing message names for debugging. * control.c, procfs.c: Use new dbug macros. Use new mempool functions.
* 2008-02-27 Dave Brolley <brolley@redhat.com>brolley2008-02-272-11/+74
| | | | | | | PR5189 * vsprintf.c (_stp_vsnprintf): Extract arguments of type int64_t for dynamic width and precision. Implement width and precision correctly for the %b format specifier. Implement the %m specifier.
* 2008-02-21 David Smith <dsmith@redhat.com>dsmith2008-02-212-3/+17
| | | | * staprun_funcs.c (check_path): Small security fix.
* uprobes arch specific header file for x86/x86_64srinivasa2008-02-181-0/+111
|
* Uprobes arch specific file for x86/x86_64.srinivasa2008-02-181-0/+717
|
* PR 5693kenistoj2008-02-112-4/+78
| | | | | | | * runtime/uprobes/uprobes.c: Intercept handler-destined signals received while we're single-stepping, and re-queue them afterward. * runtime/uprobes/uprobes.h: Ditto
* 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-02-062-2/+7
| | | | | | | | | | | | * stack-ia64.c (__stp_show_stack_sym): Skip printing symbol if (ip == REG_IP(regs)). 2008-02-06 Masami Hiramatsu <mhiramat@redhat.com> * systemtap.context/backtrace.tcl: Fixed regular expressions and Added new expression for return probe on ia64. * systemtap.context/backtrace.stp(print_all_trace_info): Added trace point output before calling print_stack().
* Print out more descriptive error messages on non-root systemtap invocationananth2008-02-041-2/+9
| | | | Thanks to Jim for fixing typos and grammar.
* 2008-01-29 Martin Hunt <hunt@redhat.com>hunt2008-01-302-2/+9
| | | | | | * io.c (_stp_vlog): Use get_cpu() instead of smp_processor_id() because this function can get called with interrupts enabled.
* 2008-01-29 Martin Hunt <hunt@redhat.com>hunt2008-01-302-4/+8
| | | | | * alloc.c (struct _stp_malloc_type): Remove redundant field.
* 2008-01-28 Martin Hunt <hunt@redhat.com>hunt2008-01-286-10/+19
| | | | | | | | * alloc.c: Use DEFINE_SPINLOCK. * counter.c: Ditto. * pmap-gen.c: Ditto. * print_new.c: Ditto. * stat.c: Ditto.
* 2008-01-28 Martin Hunt <hunt@redhat.com>hunt2008-01-284-8/+12
| | | | * control.c, procfs.c, symbols.c: Use DEFINE_SPINLOCK
* 2008-01-27 Frank Ch. Eigler <fche@elastic.org>fche2008-01-272-1/+5
| | | | * stack-i386.c (__stp_stack_print): Correct #elif->#else typo.
* * runtime/uprobes/uprobes.c: Within a probed process, serializekenistoj2008-01-252-1/+18
| | | | | | | calls to access_process_vm() when populating instructions slots. Fixes an SMP bug on multithreaded apps with many active probepoints. * runtime/uprobes/uprobes.h: Ditto
* Autoconf file for nameidata changes by srinivasa@in.ibm.comsrinivasa2008-01-241-0/+4
|
* Autoconf file for x86/x86_64 for register rename patch by srinivasa@in.ibm.comsrinivasa2008-01-241-0/+6
|
* * runtime/uprobes/uprobes.c: Fix from Srinivasa: Recastkenistoj2008-01-221-5/+5
| | | | rcu_dereferences of engine->data to resync with kernel.org builds.
* Fix last checkin.hunt2008-01-211-77/+4
|
* 2008-01-21 Martin Hunt <hunt@redhat.com>hunt2008-01-213-14/+87
| | | | | * symbols.c (send_module): Simplify and use new send_data() function to keep longword alignment.
* * runtime/uprobes/uprobes.c: Added static copy ofkenistoj2008-01-191-0/+62
| | | | access_process_vm(), for kernels that don't export it.
* From srinivasa@in.ibm.com, To make systemtap to work with register rename ↵srinivasa2008-01-185-4/+122
| | | | patch for x86/x86_64
* PR4037 and fixes to better synchronize staprun and stapio.hunt2008-01-1512-207/+369
|
* Turn DEBUG_MEM off by default.hunt2008-01-151-1/+1
|
* Add support for memory allocation tracking.hunt2008-01-1517-94/+436
|
* PR5603 hack for stack smashfche2008-01-122-2/+7
| | | | | | | 2008-01-12 Frank Ch. Eigler <fche@elastic.org> PR 5603 horrible hack. * symbols.c (do_kernel_symbols): Make buf[256] instead of [128].
* * runtime/uprobes/uprobes_x86_64.c: Fix handling of indirectkenistoj2007-12-271-5/+10
| | | | | jmps and calls that use rip-relative addressing. Allow probing of opcode 0x63.
* 2007-12-11 Martin Hunt <hunt@redhat.com>hunt2007-12-113-17/+27
| | | | | | | PR5368 * relay_old.c (init_oldrelayfs): Don't start threads if load_only. * relay.c (init_relayfs): Ditto.
* 2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-141-0/+6
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * regs-ia64.c (ia64_fetch_register): Fix the bug of fetching register 12 on IA64.
* 2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-141-0/+3
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * regs-ia64.c (ia64_fetch_register): Fix the bug of fetching register 12 on IA64.
* PR 5270kenistoj2007-11-131-0/+6
| | | | | | | | | | | | | * main.cxx: Restored pre-10-08 version: moved uprobes build to buildrun.cxx. * buildrun.cxx: Reworked uprobes build so that the resulting Module.symvers can be used in building the stap-generated module. If user isn't root, call verify_uprobes_uptodate() rather than trying (and failing) to rebuild uprobes.ko. * buildrun.h: uprobes_enabled() and make_uprobes() are no longer extern. * runtime/uprobes/Makefile: Added uprobes.ko target for use by verify_uprobes_uptodate().