| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| | |
* autoconf-tsc-khz.c: Fix a bug to be configured correctly.
|
|\| |
|
| |
| |
| |
| |
| |
| | |
From David Wilder <dwilder@us.ibm.com>
* tapsets.cxx (mark_query::handle_query_module): Updated to handle
64-bit platforms correctly.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
From Cai Fei <caifei@cn.fujitsu.com>
* conversions.stp: Add a function kernel_string_n for copy
non-0-terminated string with fixed length from kernel space at
given address.
* stapfuncs.5.in: Add kernel_string_n.
* nfsd.stp: Using kernel_string_n to copy non-0-terminated string
with fixed length from kernel space at given address.
* nfs_proc.stp: Ditto.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tapsets.cxx (dwflpp::setup): Added 'debuginfo_needed' parameter
to not error if no debuginfo present.
(hex_dump): New function.
(mark_query::handle_query_module): Updated for
10/2/2007 markers patch. Currently only handles markers in the
kernel image itself - not in modules.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| | |
* Makefile.am (staprun_LDADD): Add -lpthread.
* Makefile.in: Rebuilt.
|
| | |
|
|\| |
|
| |
| |
| |
| |
| | |
* queue_stats.stp (qsq_start): Fix problem that compile fails when
calling qsq_utilization or other query functions next to qsq_start.
|
| |
| |
| |
| |
| | |
* staprun.c (main): Move checks for init_cap and getuid
from just before command line argument parsing to just after.
|
| |
| |
| |
| |
| | |
* staprun.c (main): Move checks for init_cap and getuid
from just before command line argument parsing to just after.
|
|\| |
|
| |
| |
| |
| |
| |
| | |
2007-10-11 Frank Ch. Eigler <fche@elastic.org>
* systemtap.spec.in: Make -testsuite subrpm require dejagnu.
|
| |
| |
| |
| |
| |
| | |
2007-10-11 Frank Ch. Eigler <fche@elastic.org>
* systemtap.spec.in: Make -testsuite subrpm require dejagnu.
|
|\| |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* queue_stats.stp (qsq_utilization): Update queue account datas
before calculate.
(qsq_blocked): Ditto.
(qsq_wait_queue_length): Ditto.
(qsq_service_time): Ditto.
(qsq_wait_time): Ditto.
(qsq_throughput): Ditto.
|
| |
| |
| |
| |
| |
| | |
From Cai Fei <caifei@cn.fujitsu.com>
* nfs_proc.stp (__nfs_write_data_info): Add data-access code for
count, valid and timestamp.
|
| |
| |
| |
| | |
* udp.stp: Add name argument for all probes.
|
| |
| |
| |
| | |
* runtime/uprobes/uprobes_s390.[ch]: Added
|
| |
| |
| |
| | |
to measure system call times.
|
|\| |
|
| |
| |
| |
| |
| | |
* aux_syscalls.stp (_stp_lookup_str): When defaulting
to a numeric value, append, don't overwrite.
|
| |
| |
| |
| |
| |
| | |
From Lai Jiangshan <laijs@cn.fujitsu.com>
* aux_syscalls.stp (_stp_lookup_or_str) redirect to _stp_lookup_str
if val is 0.
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
PR5153
* aux_syscalls.stp (_sighandler_str): No
sa_restorer field for IA64.
|
| |
| |
| |
| | |
* rt_signal.c: Fix expected results for IA64.
|
| |
| |
| |
| |
| |
| |
| | |
* common.c (set_clexec): New.
* staprun.h: Add prototype for set_clexec.
* relay*.c, ctl.c: Call set_clexec after
file opens.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* syscalls2.stp (sys_signal): Call
_sighandler_str().
* aux_syscalls.stp (_stp_sigset_str): Don't
include SIG_0.
(_sighandler_str): New.
|
| |
| |
| |
| |
| |
| |
| | |
* rt_signal.c: Fix expected patterns to match
recent changes in tapsets.
* signal.c: Use syscall(). Fix expected patterns.
|
| |
| |
| |
| | |
* queue_stats.stp (qsq_start): Add destruction for qs_utime.
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| | |
From Cai Fei <caifei@cn.fujitsu.com>
* memory.stp (addr_to_node): Fix the compilation error of function
addr_to_node on IA64.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2007-10-05 Frank Ch. Eigler <fche@elastic.org>
PR 1119
* elaborate.cxx (semantic_pass_opt[12]): Warn on elided
variables/functions in user script.
* session.h (suppress_warnings): New field. Change
"timing" to plain old bool.
* main.cxx (main): Configure warnings on by default.
* stap.1.in: Document this.
PR 1119.
* systemtap.base/warnings.*: New test.
* futexes.stp, sig_by_proc.stp, small_demos/rwtiming.stp: Fix elision
warnings.
|
|\| |
|
| |
| |
| |
| |
| | |
* aux_syscalls.stp: Put #ifdef CONFIG_COMPAT
around compat code.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2007-10-05 Frank Ch. Eigler <fche@elastic.org>
PR 5036
* systemtap.spec.in: Create new systemtap-testsuite sub-rpm.
Install crash(8)'s staplog.so into -runtime sub-rpm if built.
* Makefile.am (rpm): New target.
* Makefile.in: Regenerated.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* syscalls2.stp (rt_sigaction, sigaction): Call
_struct_sigaction_u().
* aux_syscalls.stp (_struct_timeval): Removed. No longer
necessary now that we have structure access in scripts.
(_struct_timespec): Ditto.
(_struct_itimerval): Ditto.
(_struct_timezone_u): Remove random CATCH_DEREF_FAULT()
line.
(_stp_sigset_str): New.
(_struct_sigaction_u): New.
|