summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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().
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-122-7/+22
| | | | | * print.c (_stp_print): Rewrite to eliminate the strlen() call and save a bit of time.
* 2007-11-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-11-096-4/+59
| | | | | | | | | | | | | | | | PR3858 * print.c: Add -DRELAY_HOST=<hostname> and -DRELAY_GUEST=<hostname> options support. (_stp_print_flush): Disable irqs if -DRELAY_* option is specified. * print_old.c: Export stp_print_flush to other modules if the -DRELAY_HOST option is specified. * print_new.c: Ditto. * transport.c (_stp_transport_init): Reduce relay buffer size to 64KB*2 if -DRELAY_GUEST is specified. * systemtap.printf/sharedbuf.exp: New test for buffer sharing option. * systemtap.printf/sharedbuf.stp: Ditto. * systemtap.printf/hello.stp: Ditto. * systemtap.printf/hello2.stp: Ditto.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-095-7/+25
| | | | | | | | | PR 5281 * transport.c (_stp_detach, _stp_attach): Call utt_set_overwrite() instead of setting a flag directly. * utt.c (utt_set_overwrite): New. Set overwrite mode. * relayfs.c (utt_set_overwrite): New. Set overwrite mode. * utt.h: Remove global utt_overwrite_flag.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-092-1/+6
| | | | | * mainloop.c (stp_main_loop): Bump recvbuf to 8196 for compatibility with old transport.
* 2007-11-01 Martin Hunt <hunt@redhat.com>hunt2007-11-015-33/+54
| | | | | | * procfs.c, control.c, transport.c: Recognize when stapio is detached and disable delayed work. Enable when attached. Cleanup code to destroy workqueue on exit.
* 2007-10-26 Martin Hunt <hunt@redhat.com>hunt2007-10-262-1/+10
| | | | | | PR5218 * stapio.c (main): Set initialized properly when attached.
* stat-common.c: Allow histogram bucket elision to be turned offmmason2007-10-252-29/+41
| | | | | with -DHIST_ELISION=<negative #>. Also cleaned up looping code to prevent unnecessary interation over non-existent buckets.
* uprobes ppc64 ssol changessrikar2007-10-253-14/+124
|
* x86_64 uprobeskenistoj2007-10-222-0/+781
|