| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* staprun_funcs.c (check_path): Small security fix.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* runtime/uprobes/uprobes.c: Intercept handler-destined
signals received while we're single-stepping, and re-queue
them afterward.
* runtime/uprobes/uprobes.h: Ditto
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
| |
Thanks to Jim for fixing typos and grammar.
|
|
|
|
|
|
| |
* io.c (_stp_vlog): Use get_cpu() instead
of smp_processor_id() because this function can get
called with interrupts enabled.
|
|
|
|
|
| |
* alloc.c (struct _stp_malloc_type): Remove
redundant field.
|
|
|
|
|
|
|
|
| |
* alloc.c: Use DEFINE_SPINLOCK.
* counter.c: Ditto.
* pmap-gen.c: Ditto.
* print_new.c: Ditto.
* stat.c: Ditto.
|
|
|
|
| |
* control.c, procfs.c, symbols.c: Use DEFINE_SPINLOCK
|
|
|
|
| |
* stack-i386.c (__stp_stack_print): Correct #elif->#else typo.
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
rcu_dereferences of engine->data to resync with kernel.org builds.
|
| |
|
|
|
|
|
| |
* symbols.c (send_module): Simplify and use new send_data() function to keep
longword alignment.
|
|
|
|
| |
access_process_vm(), for kernels that don't export it.
|
|
|
|
| |
patch for x86/x86_64
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
2008-01-12 Frank Ch. Eigler <fche@elastic.org>
PR 5603 horrible hack.
* symbols.c (do_kernel_symbols): Make buf[256] instead of [128].
|
|
|
|
|
| |
jmps and calls that use rip-relative addressing. Allow probing
of opcode 0x63.
|
|
|
|
|
|
|
| |
PR5368
* relay_old.c (init_oldrelayfs): Don't start threads
if load_only.
* relay.c (init_relayfs): Ditto.
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* regs-ia64.c (ia64_fetch_register): Fix the bug of fetching
register 12 on IA64.
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* regs-ia64.c (ia64_fetch_register): Fix the bug of fetching
register 12 on IA64.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
|
| |
* print.c (_stp_print): Rewrite to eliminate the strlen()
call and save a bit of time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* mainloop.c (stp_main_loop): Bump recvbuf to 8196 for
compatibility with old transport.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
PR5218
* stapio.c (main): Set initialized properly when
attached.
|
|
|
|
|
| |
with -DHIST_ELISION=<negative #>. Also cleaned up looping code to
prevent unnecessary interation over non-existent buckets.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* autoconf-tsc-khz.c: Not to be compiled if the kernel version is
younger than 2.6.23 on i386.
|
|
|
|
|
| |
PR5000
* vsprintf.c: Remove _stp_endian.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
* autoconf-tsc-khz.c: Fix a bug to be configured correctly.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.c (main): Move checks for init_cap and getuid
from just before command line argument parsing to just after.
|
|
|
|
| |
* runtime/uprobes/uprobes_s390.[ch]: Added
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* user/*: Removed obsolete userspace test files.
|
|
|
|
|
|
|
| |
* common.c (set_clexec): New.
* staprun.h: Add prototype for set_clexec.
* relay*.c, ctl.c: Call set_clexec after
file opens.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|