summaryrefslogtreecommitdiffstats
path: root/runtime/staprun
Commit message (Collapse)AuthorAgeFilesLines
* Kill all ChangeLogsJosh Stone2009-02-191-910/+0
| | | | | | Mark Wielaard, a dear friend of the departed, will be performing a song and dance at the funeral services to commemorate the joyous times that they had together.
* 2009-01-28 David Smith <dsmith@redhat.com>David Smith2009-01-282-0/+53
| | | | | | PR9788 * mainloop.c (cleanup_and_exit): Added workaround for bug 9788 by fork'ing/exec'ing staprun.
* Pick up --prefix dependency usage in config.h.Mark Wielaard2009-01-112-0/+7
|
* PR7082: support non-setuid use of $SYSTEMTAP_RUNTIME to find uprobes.koFrank Ch. Eigler2008-12-092-4/+17
|
* PR7063: honor SYSTEMTAP_STAPRUN and SYSTEMTAP_STAPIO environment variablesRoland McGrath2008-12-033-53/+77
|
* PR6925: tolerate modules left over from previous crashed? stap sessionsFrank Ch. Eigler2008-12-032-2/+18
|
* PR4783: remove traces of stap{run,io} self-renicingFrank Ch. Eigler2008-11-283-6/+7
|
* PR6964: configurably revert to signal-based "stap -c CMD" startup ↵Frank Ch. Eigler2008-11-122-29/+69
| | | | synchronization
* PR6964: temporary workaround for fedora utrace kernel bug 467568Wenji Huang2008-10-282-0/+25
|
* BZ467652: support old-style stap -c "FOO > BAR" usage by backing down to ↵Frank Ch. Eigler2008-10-231-7/+27
| | | | sh -c if needed.
* fix wordexp error handling, for invalid shell-like stap -c "command > file"Frank Ch. Eigler2008-10-152-3/+13
| | | | Reported-By: Wade Mealing <wmealing@redhat.com>
* PR4886: check build-id if able.Wenji Huang2008-10-061-0/+5
| | | | This provides sanity check of debuginfo file based on build-id. Many cases are considered, whether build-id exists in debuginfo file or not, whether module is loaded or not, whether build-id exists in runtime kernel/module. It will do work when LD >= 2.18 and kernel >=2.6.23, otherwise no check.
* Fix PR 6903 by checking for the real uid, not the euid.David Smith2008-09-182-1/+7
| | | | | | | | 2008-09-18 David Smith <dsmith@redhat.com> PR 6903. * staprun_funcs.c (check_permissions): Instead of checking the effective uid, check the real uid for root permissions.
* PR6445: documentation, mopping upFrank Ch. Eigler2008-09-061-0/+5
|
* "stap -c" cleanup part 2 - use wordexp / execvp instead of "sh -c" to ↵Frank Ch. Eigler2008-09-061-28/+30
| | | | execute cmd string
* task_finder <-> target_pid coupling; staprun/target_cmd fork under ptrace ↵Frank Ch. Eigler2008-09-051-298/+328
| | | | control
* remove capabilities logic, cont'dFrank Ch. Eigler2008-09-054-91/+73
|
* remove capability logicFrank Ch. Eigler2008-09-051-166/+0
| | | | | It was only barely beneficial anyway, since some crucial capabilities were never permanently dropped.
* PR6736: changelogs for post-merge compiled unwind/symbols data reorganizationFrank Ch. Eigler2008-07-101-0/+9
|
* pass /sys/module/*/sections/* addresses to the kernel module tooFrank Ch. Eigler2008-07-071-7/+83
|
* emit all symbol tables at compile time; don't do any module munging; new ↵Frank Ch. Eigler2008-07-041-1/+2
| | | | unwinder still disabled
* transport/symbol rework: kernel-only probes workingFrank Ch. Eigler2008-06-293-4/+14
|
* STP_RELOCATE message for kernel relocatability (re)adaption, starting ↵Frank Ch. Eigler2008-06-294-23/+128
| | | | implementation
* PR6429: remove unused fileFrank Ch. Eigler2008-06-031-97/+0
|
* PR6429: remove stapio STP_UNWIND support and associated elfutils dependencyFrank Ch. Eigler2008-06-032-12/+5
|
* More signal cleanup.Martin Hunt2008-05-052-9/+6
|
* Fix problem handling SIG_CHLDMartin Hunt2008-05-052-2/+19
|
* Cleanup signal handling for staprun.Martin Hunt2008-05-052-46/+77
|
* PR6008: Increase the limitation of the buffer size to 4095MB.Masami Hiramatsu2008-04-302-3/+10
|
* PR5645: Fix sub-buffer size calculation and debug messages.Masami Hiramatsu2008-04-303-2/+7
|
* PR6451: avoid one class of staprun shutdown deadlock (module/.ctl filehandle ↵Frank Ch. Eigler2008-04-243-3/+9
| | | | = 0)
* Allow staprun to run on kernels without capabilities configured.Martin Hunt2008-04-225-40/+52
|
* Move send_request out of common.c because staprun no longer sends anything.Martin Hunt2008-04-224-27/+32
|
* Add documentation for staprun -d option.Martin Hunt2008-04-222-0/+7
|
* Change staprun to exec stapio. Add "-d" option to staprun.Martin Hunt2008-04-219-486/+153
|
* rebased unwind_branch on top of current masterFrank Ch. Eigler2008-03-255-172/+182
|
* 2008-02-27 Martin Hunt <hunt@redhat.com>hunt2008-02-271-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-21 David Smith <dsmith@redhat.com>dsmith2008-02-212-3/+17
| | | | * staprun_funcs.c (check_path): Small security fix.
* Print out more descriptive error messages on non-root systemtap invocationananth2008-02-041-2/+9
| | | | Thanks to Jim for fixing typos and grammar.
* 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.
* PR4037 and fixes to better synchronize staprun and stapio.hunt2008-01-155-115/+165
|
* 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].
* 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-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-10-26 Martin Hunt <hunt@redhat.com>hunt2007-10-262-1/+10
| | | | | | PR5218 * stapio.c (main): Set initialized properly when attached.
* 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.
* 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-084-25/+90
| | | | | | | | | | | | | | | | | | | | | | | * 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