summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fixed 10/16 update to arch_validate_probed_insn() decls.kenistoj2007-10-192-2/+3
|
* 2007-10-17 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-172-0/+9
| | | | | * autoconf-tsc-khz.c: Not to be compiled if the kernel version is younger than 2.6.23 on i386.
* 2007-10-17 Martin Hunt <hunt@redhat.com>hunt2007-10-172-23/+4
| | | | | PR5000 * vsprintf.c: Remove _stp_endian.
* * runtime/uprobes/uprobes.[ch], uprobes_i386.[ch],kenistoj2007-10-166-21/+42
| | | | | | | | | uprobes_ppc64.h, uprobes_s390.h: Adjusted SLOT_IP and arch_validate_probed_insn to accept task pointer (needed by x86_64); added uprobe_probept_arch_info and uprobe_task_arch_info (ditto). * runtime/uprobes/uprobes_i386.c: Fixed a couple of glitches discovered when porting to x86_64
* 2007-10-15 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-152-1/+5
| | | | * autoconf-tsc-khz.c: Fix a bug to be configured correctly.
* 2007-10-12 Martin Hunt <hunt@redhat.com>hunt2007-10-124-104/+472
| | | | | | | | | | * transport.c (_stp_ask_for_symbols): Don't ask for transport_info yet. Need to wait until symbols are received. (_stp_work_queue): Rename _stp_ready_q to _stp_ctl_ready_q. * procfs.c: Create a ".symbols" channel and use it for STP_MODULE and STP_SYMBOLS. Rename "cmd" channel to ".cmd". * control.c: Ditto.
* 2007-10-12 Martin Hunt <hunt@redhat.com>hunt2007-10-128-27/+81
| | | | | | | | | | | | | | | | Changes to separate the symbols from the command channel. * cap.c (init_cap): Add CAP_DAC_OVERRIDE. * staprun.h: Change init_ctl_channel prototype. * ctl.c (init_ctl_channel): Modify to open either a command or symbol channel. Use ".cmd" and ".symbols" as the new names. * mainloop.c (init_stapio): Call init_ctl_channel(0); * staprun.c (cleanup): Call stop_symbol_thread(). (main): Call start_symbol_thread(). * staprun_funcs.c (handle_symbols): Make a thread. (start_symbol_thread): New. (stop_symbol_thread): New.
* * staprun error-check reordering for parseko/cmdline* testsfche2007-10-122-9/+16
| | | | | * staprun.c (main): Move checks for init_cap and getuid from just before command line argument parsing to just after.
* * runtime/uprobes/uprobes_ppc64.[ch]: Addedkenistoj2007-10-104-0/+399
| | | | * runtime/uprobes/uprobes_s390.[ch]: Added
* PR 5083kenistoj2007-10-091-13/+38
| | | | | | | * runtime/uprobes/uprobes.c: Adjust module ref-count when creating or removing uprobe_process, so "rmmod --wait uprobes" waits as needed until uretprobed functions return.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-0911-739/+4
| | | | * user/*: Removed obsolete userspace test files.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-096-3/+45
| | | | | | | * common.c (set_clexec): New. * staprun.h: Add prototype for set_clexec. * relay*.c, ctl.c: Call set_clexec after file opens.
* PR 5709kenistoj2007-10-088-115/+136
| | | | | | | | | | | | | | | | | | | | | | | * main.cxx: Add pass 4.5: make uprobes.ko in runtime/uprobes * buildrun.cxx: Add uprobes_enabled() and make_uprobes(). Factor run_make_cmd() out of compile_pass(). * buildrun.h: Add uprobes_enabled and make_uprobes decls. * tapsets.cxx: Do correct #include for modprobed uprobes.ko; set need_uprobes in pass 2. * session.h: Add need_uprobes * runtime/staprun/common.c: Add -u option -> need_uprobes * runtime/staprun/staprun_funcs.c: Generalize insert_module() to support inserting uprobes.ko. * runtime/staprun/staprun.c: Add enable_uprobes(). insert_module call becomes insert_stap_module(). * runtime/staprun/staprun.h: Reflect insert_module() and need_uprobes changes * runtime/uprobes/*.[c,h]: uprobes is built as a module, rather than included into the source of the stap-generated module. * runtime/uprobes/Makefile: Added