]> sourceware.org Git - systemtap.git/log
systemtap.git
16 years ago* runtime/uprobes/uprobes.[ch], uprobes_i386.[ch],
kenistoj [Tue, 16 Oct 2007 23:40:49 +0000 (23:40 +0000)]
* runtime/uprobes/uprobes.[ch], uprobes_i386.[ch],
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

16 years ago.
roland [Mon, 15 Oct 2007 23:31:53 +0000 (23:31 +0000)]
.

16 years ago2007-10-15 Roland McGrath <roland@redhat.com>
roland [Mon, 15 Oct 2007 23:31:50 +0000 (23:31 +0000)]
2007-10-15  Roland McGrath  <roland@redhat.com>

PR 5101
* loc2c.c (struct location): Replace regno union member with struct
member reg, fields regno and offset.
(translate): Update uses.
(emit_base_fetch, emit_base_store, emit_loc_register): Likewise.
Fail if reg.offset is not zero.
(location_relative): Handle DW_OP_plus_uconst relative to loc_register.
(c_translate_array): Handle array index into loc_register.

16 years ago2007-10-15 David Smith <dsmith@redhat.com>
dsmith [Mon, 15 Oct 2007 20:12:36 +0000 (20:12 +0000)]
2007-10-15  David Smith  <dsmith@redhat.com>

* tapsets.cxx (mark_query::handle_query_module): Checks for marker
to be in the proper section.
(mark_derived_probe_group::emit_module_decls): Updated emitted
marker C code for 10/2/2007 markers patch.  Fixes PR 5178.

16 years agoadded test for 32-bit value of AT_FDCWD
dwilder [Mon, 15 Oct 2007 19:11:11 +0000 (19:11 +0000)]
added test for 32-bit value of AT_FDCWD

16 years ago2007-10-15 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Mon, 15 Oct 2007 15:21:23 +0000 (15:21 +0000)]
2007-10-15  Masami Hiramatsu <mhiramat@redhat.com>

        * autoconf-tsc-khz.c: Fix a bug to be configured correctly.

16 years ago2007-10-15 David Smith <dsmith@redhat.com>
dsmith [Mon, 15 Oct 2007 14:43:19 +0000 (14:43 +0000)]
2007-10-15  David Smith  <dsmith@redhat.com>

From David Wilder <dwilder@us.ibm.com>
* tapsets.cxx (mark_query::handle_query_module): Updated to handle
64-bit platforms correctly.

16 years ago2007-10-15 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Mon, 15 Oct 2007 05:24:01 +0000 (05:24 +0000)]
2007-10-15  Zhaolei  <zhaolei@cn.fujitsu.com>

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.

16 years ago2007-10-12 David Smith <dsmith@redhat.com>
dsmith [Fri, 12 Oct 2007 20:29:21 +0000 (20:29 +0000)]
2007-10-12  David Smith  <dsmith@redhat.com>

* 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.

16 years ago2007-10-12 Martin Hunt <hunt@redhat.com>
hunt [Fri, 12 Oct 2007 19:46:35 +0000 (19:46 +0000)]
2007-10-12  Martin Hunt  <hunt@redhat.com>

* 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.

16 years ago2007-10-12 Martin Hunt <hunt@redhat.com>
hunt [Fri, 12 Oct 2007 19:42:32 +0000 (19:42 +0000)]
2007-10-12  Martin Hunt  <hunt@redhat.com>
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.

16 years ago2007-10-12 Martin Hunt <hunt@redhat.com>
hunt [Fri, 12 Oct 2007 19:33:14 +0000 (19:33 +0000)]
2007-10-12  Martin Hunt  <hunt@redhat.com>

* Makefile.am (staprun_LDADD): Add -lpthread.
* Makefile.in: Rebuilt.

16 years agotimers.c init tid to 0 to workaround s390x bug.
dwilder [Fri, 12 Oct 2007 17:24:33 +0000 (17:24 +0000)]
timers.c init tid to 0 to workaround s390x bug.

16 years ago2007-10-12 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 12 Oct 2007 06:02:41 +0000 (06:02 +0000)]
2007-10-12  Zhaolei  <zhaolei@cn.fujitsu.com>

* queue_stats.stp (qsq_start): Fix problem that compile fails when
calling qsq_utilization or other query functions next to qsq_start.

16 years ago* staprun error-check reordering for parseko/cmdline* tests
fche [Fri, 12 Oct 2007 01:51:10 +0000 (01:51 +0000)]
* staprun error-check reordering for parseko/cmdline* tests

* staprun.c (main): Move checks for init_cap and getuid
from just before command line argument parsing to just after.

16 years ago* specfile dep fix
fche [Thu, 11 Oct 2007 21:56:29 +0000 (21:56 +0000)]
* specfile dep fix

2007-10-11  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.spec.in: Make -testsuite subrpm require dejagnu.

16 years agofutimes.c : Only test system calls that have numbers assigned in asm/unistd.h
dwilder [Thu, 11 Oct 2007 18:59:25 +0000 (18:59 +0000)]
futimes.c : Only test system calls that have numbers assigned in asm/unistd.h

16 years ago2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 11 Oct 2007 08:20:39 +0000 (08:20 +0000)]
2007-10-11  Zhaolei  <zhaolei@cn.fujitsu.com>

* 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.

16 years ago2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 11 Oct 2007 05:29:08 +0000 (05:29 +0000)]
2007-10-11  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* nfs_proc.stp (__nfs_write_data_info): Add data-access code for
count, valid and timestamp.

16 years ago2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 11 Oct 2007 02:14:32 +0000 (02:14 +0000)]
2007-10-11  Zhaolei  <zhaolei@cn.fujitsu.com>

* udp.stp: Add name argument for all probes.

16 years ago* runtime/uprobes/uprobes_ppc64.[ch]: Added
kenistoj [Wed, 10 Oct 2007 23:31:37 +0000 (23:31 +0000)]
* runtime/uprobes/uprobes_ppc64.[ch]: Added
* runtime/uprobes/uprobes_s390.[ch]: Added

16 years agosyscalltimes, syscalltimes.txt: New combination shell/SystemTap script
mmason [Wed, 10 Oct 2007 19:03:09 +0000 (19:03 +0000)]
syscalltimes, syscalltimes.txt:  New combination shell/SystemTap script
to measure system call times.

16 years ago2007-10-10 Martin Hunt <hunt@redhat.com>
hunt [Wed, 10 Oct 2007 14:12:13 +0000 (14:12 +0000)]
2007-10-10  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp (_stp_lookup_str): When defaulting
to a numeric value, append, don't overwrite.

16 years ago2007-10-10 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 9 Oct 2007 23:52:54 +0000 (23:52 +0000)]
2007-10-10  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* aux_syscalls.stp (_stp_lookup_or_str) redirect to _stp_lookup_str
if val is 0.

16 years agoPR 5083
kenistoj [Tue, 9 Oct 2007 22:06:40 +0000 (22:06 +0000)]
PR 5083
* 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.

16 years ago2007-10-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Oct 2007 19:19:03 +0000 (19:19 +0000)]
2007-10-09  Martin Hunt  <hunt@redhat.com>

* user/*: Removed obsolete userspace test files.

16 years agorpc.stp: Replaced atomic_read()'s with kread()'s
mmason [Tue, 9 Oct 2007 18:05:54 +0000 (18:05 +0000)]
rpc.stp: Replaced atomic_read()'s with kread()'s

16 years ago2007-10-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Oct 2007 18:00:16 +0000 (18:00 +0000)]
2007-10-09  Martin Hunt  <hunt@redhat.com>
        PR5153
* aux_syscalls.stp (_sighandler_str): No
sa_restorer field for IA64.

16 years ago2007-10-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Oct 2007 17:58:44 +0000 (17:58 +0000)]
2007-10-09  Martin Hunt  <hunt@redhat.com>

* rt_signal.c: Fix expected results for IA64.

16 years ago2007-10-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Oct 2007 16:03:04 +0000 (16:03 +0000)]
2007-10-09  Martin Hunt  <hunt@redhat.com>

* common.c (set_clexec): New.
* staprun.h: Add prototype for set_clexec.
* relay*.c, ctl.c: Call set_clexec after
file opens.

16 years ago2007-10-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Oct 2007 13:28:09 +0000 (13:28 +0000)]
2007-10-09  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp (sys_signal): Call
_sighandler_str().

* aux_syscalls.stp (_stp_sigset_str): Don't
include SIG_0.
(_sighandler_str): New.

16 years ago2007-10-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Oct 2007 13:25:19 +0000 (13:25 +0000)]
2007-10-09  Martin Hunt  <hunt@redhat.com>

* rt_signal.c: Fix expected patterns to match
recent changes in tapsets.

* signal.c: Use syscall(). Fix expected patterns.

16 years ago2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 9 Oct 2007 06:15:04 +0000 (06:15 +0000)]
2007-10-09  Zhaolei  <zhaolei@cn.fujitsu.com>

* queue_stats.stp (qsq_start): Add destruction for qs_utime.

16 years ago* regenerated
fche [Tue, 9 Oct 2007 01:10:54 +0000 (01:10 +0000)]
* regenerated

16 years ago2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 9 Oct 2007 00:33:19 +0000 (00:33 +0000)]
2007-10-09  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* memory.stp (addr_to_node): Fix the compilation error of function
addr_to_node on IA64.

16 years agoDocuments checkin of moments ago.
kenistoj [Mon, 8 Oct 2007 21:58:45 +0000 (21:58 +0000)]
Documents checkin of moments ago.

16 years agoPR 5709
kenistoj [Mon, 8 Oct 2007 21:52:12 +0000 (21:52 +0000)]
PR 5709
* 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

16 years agoPR1119: unused variable elision warnings
fche [Sat, 6 Oct 2007 02:42:29 +0000 (02:42 +0000)]
PR1119: unused variable elision warnings

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.

16 years ago2007-10-05 Martin Hunt <hunt@redhat.com>
hunt [Fri, 5 Oct 2007 20:15:45 +0000 (20:15 +0000)]
2007-10-05  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp: Put #ifdef CONFIG_COMPAT
around compat code.

16 years agopr5036: systemtap-testsuite RPM
fche [Fri, 5 Oct 2007 19:01:32 +0000 (19:01 +0000)]
pr5036: systemtap-testsuite RPM

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.

16 years ago2007-10-05 Martin Hunt <hunt@redhat.com>
hunt [Fri, 5 Oct 2007 17:56:58 +0000 (17:56 +0000)]
2007-10-05  Martin Hunt  <hunt@redhat.com>

* 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.

16 years ago2007-10-05 Martin Hunt <hunt@redhat.com>
hunt [Fri, 5 Oct 2007 17:48:19 +0000 (17:48 +0000)]
2007-10-05  Martin Hunt  <hunt@redhat.com>

* buildok/aux_syscalls-embedded.stp: Add all embedded
C function in aux_syscalls.

16 years agorhbz 319611: htonl and friends in tapset
fche [Fri, 5 Oct 2007 02:19:35 +0000 (02:19 +0000)]
rhbz 319611: htonl and friends in tapset

2007-10-04  Frank Ch. Eigler  <fche@elastic.org>

* stapfuncs.5.in: Document inet.stp tapset functions.

* buildok/inet-embedded.stp: Test inet.stp functions.

* inet.stp: New tapset for htonl and friends.

16 years ago2007-10-04 David Smith <dsmith@redhat.com>
dsmith [Thu, 4 Oct 2007 20:01:12 +0000 (20:01 +0000)]
2007-10-04  David Smith  <dsmith@redhat.com>

* buildrun.cxx (compile_pass): Tweaked build system for the
2.6.23-rc8-mm2 kernel.

16 years ago2007-10-04 Mike Mason <mmlnx@us.ibm.com>
mmason [Thu, 4 Oct 2007 19:01:15 +0000 (19:01 +0000)]
2007-10-04  Mike Mason <mmlnx@us.ibm.com>

* buildok/memory-all-probes.stp:
          New test that uses wildcarding to
          determine if all probes are resolvable.
* buildok/nfs-all-probes.stp: Ditto
* buildok/nfsd-all-probes.stp: Ditto
* buildok/process-all-probes.stp: Ditto
* buildok/rpc-all-probes.stp: Ditto
* buildok/scheduler-all-probes.stp: Ditto
* buildok/scsi-all-probes.stp: Ditto
* buildok/signal-all-probes.stp: Ditto
* buildok/socket-all-probes.stp: Ditto
* buildok/tcp-all-probes.stp: Ditto
* buildok/udp-all-probes.stp: Ditto
* buildok/vfs-all-probes.stp: Ditto

16 years ago2007-10-03 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 4 Oct 2007 03:21:00 +0000 (03:21 +0000)]
2007-10-03  Frank Ch. Eigler  <fche@elastic.org>

PR 5102
* translate.cxx (visit_statement): Add new parameter regarding whether
c->last_stmt needs to be updated.  Update callers, mostly passing
"false".
(visit_EXPRESSIONTYPE): Generally omit setting c->last_stmt, unless
the construct can set c->last_error.

16 years ago2007-10-04 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 4 Oct 2007 02:25:12 +0000 (02:25 +0000)]
2007-10-04  Zhaolei  <zhaolei@cn.fujitsu.com>

* queue_stats.stp (qsq_print): Make value of ops/s output as float

16 years agotestsuite verbosity cleanup
fche [Wed, 3 Oct 2007 22:24:51 +0000 (22:24 +0000)]
testsuite verbosity cleanup

2007-10-03  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.syscall/test.tcl: Don't list PASS on stdout.

16 years agoPR 5096: improve code generation for function calls
fche [Wed, 3 Oct 2007 20:34:43 +0000 (20:34 +0000)]
PR 5096: improve code generation for function calls

2007-10-03  Frank Ch. Eigler  <fche@elastic.org>

PR 5096
* translate.cxx (emit_function): Put nesting limit/control logic into
function body ...
(visit_functioncall): ... and not into each call site.

16 years ago* mention error probes
fche [Wed, 3 Oct 2007 13:14:31 +0000 (13:14 +0000)]
* mention error probes

16 years ago2007-10-03 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 3 Oct 2007 01:56:25 +0000 (01:56 +0000)]
2007-10-03  Zhaolei  <zhaolei@cn.fujitsu.com>

* aux_syscalls.stp(_sockopt_level_str): Add support for protocol
number 134~137.
* socket.stp (global define,begin): Ditto.

16 years agoPR 3635: reduce number of global objects
fche [Tue, 2 Oct 2007 21:41:06 +0000 (21:41 +0000)]
PR 3635: reduce number of global objects

2007-10-02  Frank Ch. Eigler  <fche@redhat.com>

PR 3635
* translate.cxx (emit_global): Wrap all globals and locks into one
top-level struct.  Update references to former "global_VAR" prefix.
* translate.h (emit_global_init): New function.

16 years ago2007-10-02 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 2 Oct 2007 20:33:22 +0000 (20:33 +0000)]
2007-10-02  Frank Ch. Eigler  <fche@elastic.org>

PR 5041
From <michael.gruener@linux.vnet.ibm.com>:
* loc2c-runtime.h (store_register): Add value as macro parameter where
missing.

16 years agonone
fche [Tue, 2 Oct 2007 17:46:16 +0000 (17:46 +0000)]
none

16 years ago2007-10-02 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 2 Oct 2007 17:44:25 +0000 (17:44 +0000)]
2007-10-02  Frank Ch. Eigler  <fche@redhat.com>

PR 5078
* tapsets.cxx (be_derived_probe): Rework to add error probe support.
Emit probe description array in C for traversal by generated code.
* register_standard_tapsets: Add error probes.
* stapprobes.5.in: Document.
* translate.cxx (emit_module_init): Handle errors that may occur
during begin probes.
(emit_module_exit): Use schedule() rather than cpu_relax() during
shutdown synchronization wait loop.
* staptree.cxx (probe::printsig): Put multiple probe points on same
line.

2007-10-02  Frank Ch. Eigler  <fche@redhat.com>

PR 5078
* semok/twentysix.stp, systemtap.base/beginenderror.*: New tests.

16 years ago2007-10-02 William Cohen <wcohen@redhat.com>
wcohen [Tue, 2 Oct 2007 16:59:33 +0000 (16:59 +0000)]
2007-10-02  William Cohen  <wcohen@redhat.com>

* systemtap.syscall/signal.c:
* systemtap.syscall/uid16.c: Compilation regardless of defines.
* systemtap.syscall/test.tcl: Handle UNSUPP tests correctly.

16 years ago2007-10-02 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 2 Oct 2007 03:10:08 +0000 (03:10 +0000)]
2007-10-02  Zhaolei  <zhaolei@cn.fujitsu.com>

* tcp.stp: Add name argument for all probes.
* tcp.stp (tcp.setsockopt.return): Add comment.

16 years ago2007-10-01 Martin Hunt <hunt@redhat.com>
hunt [Mon, 1 Oct 2007 15:29:27 +0000 (15:29 +0000)]
2007-10-01  Martin Hunt  <hunt@redhat.com>

* test.tcl (run_one_test): Append newlines when
using send_log().

16 years ago2007-10-01 Martin Hunt <hunt@redhat.com>
hunt [Mon, 1 Oct 2007 15:28:12 +0000 (15:28 +0000)]
2007-10-01  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp (_str_lookup_str): Print unmatched
values in hex.

16 years ago2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Sun, 30 Sep 2007 23:54:56 +0000 (23:54 +0000)]
2007-10-01  Zhaolei  <zhaolei@cn.fujitsu.com>

* socket.stp (_success_check): Fix compare method.

16 years ago* Makefile.in: Regenerated from Jim Keniston's uprobes Makefile.am changes.
fche [Sat, 29 Sep 2007 01:07:49 +0000 (01:07 +0000)]
* Makefile.in: Regenerated from Jim Keniston's uprobes Makefile.am changes.

16 years agoIf uprobes isn't in the kernel, pull it in from the runtime.
kenistoj [Fri, 28 Sep 2007 23:50:40 +0000 (23:50 +0000)]
If uprobes isn't in the kernel, pull it in from the runtime.

16 years agoInstall runtime/uprobes/*.
kenistoj [Fri, 28 Sep 2007 23:46:33 +0000 (23:46 +0000)]
Install runtime/uprobes/*.

16 years agouprobes.c, uprobes.h: architecture-independent code
kenistoj [Fri, 28 Sep 2007 23:41:26 +0000 (23:41 +0000)]
uprobes.c, uprobes.h: architecture-independent code
uprobes_i386.c, uprobes_i386.h: i386 code
uprobes_arch.c, uprobes_arch.h: map to architecture-specific files

16 years ago2007-09-28 Wenji Huang <wenji.huang@oracle.com>
wenji [Fri, 28 Sep 2007 08:01:00 +0000 (08:01 +0000)]
2007-09-28  Wenji Huang <wenji.huang@oracle.com>

        * lib/systemtap.exp: New proc get_system_info.
        * lib/stap_run.exp: New proc print_system_info.

16 years ago2007-09-27 Martin Hunt <hunt@redhat.com>
hunt [Thu, 27 Sep 2007 17:43:03 +0000 (17:43 +0000)]
2007-09-27  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp (_stp_lookup_str, _stp_lookup_or_str):
New functions to efficiently and safely read arrays of values
and return a string.
(_signal_name): Reimplement using _stp_lookup_str().
(_semctl_cmd): Ditto.
(__fork_flags): Ditto.
(_mmap_flags): Ditto.
(_mprotect_prot_str): Ditto.
(_shmat_flags_str): Ditto.
(_at_flag_str): Ditto.
(get_mmap_args): Complete rewrite for safety and correctness.

16 years agogrammar tweaks
fche [Thu, 27 Sep 2007 17:36:56 +0000 (17:36 +0000)]
grammar tweaks

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
16 years ago2007-09-27 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Thu, 27 Sep 2007 16:28:28 +0000 (16:28 +0000)]
2007-09-27  Masami Hiramatsu <mhiramat@redhat.com>

       PR3916
       * systemtap.sample/gtod.*: New test for gettimeofday accuracy.

16 years ago2007-09-27 Wenji Huang <wenji.huang@oracle.com>
wenji [Thu, 27 Sep 2007 09:11:34 +0000 (09:11 +0000)]
2007-09-27  Wenji Huang  <wenji.huang@oracle.com>

        * rpc.stp (clones_from_clnt, tasks_from_clnt): Fix for kernel >= 2.6.22.
        * nfs.stp (__nfsi_ndirty) : Ditto.
        * nfs_proc.stp (__nfsv4_bitmask) : Make bitmask valid according to CONFIG.

16 years ago2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 27 Sep 2007 07:24:47 +0000 (07:24 +0000)]
2007-09-27  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp (sunrpc.clnt.shutdown_client): Add argument progname's
definition for probe sunrpc.clnt.shutdown_client, because it
is in the man page but not defined in tapset.

16 years ago2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 27 Sep 2007 07:11:32 +0000 (07:11 +0000)]
2007-09-27  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp (sunrpc.clnt.call_sync, sunrpc.clnt.call_async): Fix
the output format of flags in argstr from hex to decimal just
to make it same as other probes.

16 years ago2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 27 Sep 2007 05:14:15 +0000 (05:14 +0000)]
2007-09-27  Zhaolei  <zhaolei@cn.fujitsu.com>

* tcp.stp (sendmsg.return): Fix description of size variable.
* tcp.stp (recvmsg.return): Ditto.

16 years ago2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 27 Sep 2007 01:42:46 +0000 (01:42 +0000)]
2007-09-27  Zhaolei  <zhaolei@cn.fujitsu.com>

* socket.stp (aio_read): Fix compile error with kernel version
less than 2.6.19.
* socket.stp (aio_write): Ditto.

16 years agoUpdated vfs.stp.
mmason [Wed, 26 Sep 2007 19:09:23 +0000 (19:09 +0000)]
Updated vfs.stp.

16 years agoSpecified explicit types for __find_bdevname() parameters and return value. The...
mmason [Wed, 26 Sep 2007 19:03:54 +0000 (19:03 +0000)]
Specified explicit types for __find_bdevname() parameters and return value.  The types could not be determined correctly when __find_bdevname() was used in nfs.stp

Added __page_index() to work around problem dereferencing unions in stap language.

Made generic.fop.sendfile conditional on kernel <= 2.6.22. generic_file_sendfile() was removed in 2.6.23.

16 years ago2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 26 Sep 2007 06:51:28 +0000 (06:51 +0000)]
2007-09-26  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* syscall.stp (syscall.brk): Add probe point
kernel.function("ia64_brk").
* syscall.stp (syscall.mremap): Add probe point
kernel.function("ia64_mremap").

16 years ago2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 26 Sep 2007 06:49:10 +0000 (06:49 +0000)]
2007-09-26  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* syscall.stp (syscall.brk): Add probe point
kernel.function("ia64_brk")
* syscall.stp (syscall.mremap): Add probe point
kernel.function("ia64_mremap")

16 years ago2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 26 Sep 2007 02:10:26 +0000 (02:10 +0000)]
2007-09-26  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
modify field-access operator from "." to "->" in all files.

16 years ago2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 26 Sep 2007 00:57:37 +0000 (00:57 +0000)]
2007-09-26  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls.stp (adjtimex.return): Improve retstr.
* aux_syscalls.stp: Add a function(_adjtimex_return_str) for
adjtimex.return.

16 years agotypo fix
fche [Tue, 25 Sep 2007 19:31:32 +0000 (19:31 +0000)]
typo fix

16 years agosocket.stp build fix for 2.6.9 kernel
fche [Tue, 25 Sep 2007 19:30:58 +0000 (19:30 +0000)]
socket.stp build fix for 2.6.9 kernel

2007-09-25  Frank Ch. Eigler  <fche@elastic.org>

* socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed.

16 years ago* build fix on rhel4
fche [Tue, 25 Sep 2007 19:22:29 +0000 (19:22 +0000)]
* build fix on rhel4

2007-09-25  Frank Ch. Eigler  <fche@elastic.org>

* socket.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.

16 years agoremove problematic $target variable from signal.send
fche [Tue, 25 Sep 2007 18:41:24 +0000 (18:41 +0000)]
remove problematic $target variable from signal.send

2007-09-25  Frank Ch. Eigler  <fche@elastic.org>

* signal.stp (_signal.send.part*): Remove sinfo alias variable,
since it's a struct rather than integral value.

16 years ago*** empty log message ***
hunt [Tue, 25 Sep 2007 18:35:04 +0000 (18:35 +0000)]
*** empty log message ***

16 years ago2007-09-25 Martin Hunt <hunt@redhat.com>
hunt [Tue, 25 Sep 2007 17:59:05 +0000 (17:59 +0000)]
2007-09-25  Martin Hunt  <hunt@redhat.com>

* test.tcl (run_one_test): Fix unsupported results.
Send failure diffs to log.

16 years ago2007-09-25 Martin Hunt <hunt@redhat.com>
hunt [Tue, 25 Sep 2007 17:49:01 +0000 (17:49 +0000)]
2007-09-25  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp (sys_readlinkat): Make optional.

16 years ago2007-09-25 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 25 Sep 2007 17:47:17 +0000 (17:47 +0000)]
2007-09-25  Josh Stone  <joshua.i.stone@intel.com>

* tapsets.cxx (translator_output::~translator_output): Fix mismatched
delete / delete [].

16 years ago2007-09-25 Martin Hunt <hunt@redhat.com>
hunt [Tue, 25 Sep 2007 16:52:08 +0000 (16:52 +0000)]
2007-09-25  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp (_struct_compat_timeval_u): ifdef
CONFIG_COMPAT so buildok test will pass.

16 years ago2007-09-25 Martin Hunt <hunt@redhat.com>
hunt [Tue, 25 Sep 2007 16:37:00 +0000 (16:37 +0000)]
2007-09-25  Martin Hunt  <hunt@redhat.com>

* systemtap.context/backtrace.tcl: Handle single line timer.profile
backtraces.

16 years ago2007-09-25 David Smith <dsmith@redhat.com>
dsmith [Tue, 25 Sep 2007 15:44:45 +0000 (15:44 +0000)]
2007-09-25  David Smith  <dsmith@redhat.com>

* systemtap.base/marker.exp: Improved regexp to work correctly on
kernels with no markers.

16 years ago2007-09-25 David Smith <dsmith@redhat.com>
dsmith [Tue, 25 Sep 2007 15:36:32 +0000 (15:36 +0000)]
2007-09-25  David Smith  <dsmith@redhat.com>

* systemtap.base/marker.exp: Updated for the 9/18/2007 markers
patch.

16 years ago2007-09-25 David Smith <dsmith@redhat.com>
dsmith [Tue, 25 Sep 2007 15:34:42 +0000 (15:34 +0000)]
2007-09-25  David Smith  <dsmith@redhat.com>

* tapsets.cxx (mark_query::handle_query_module): Updated for
9/18/2007 markers patch.
(mark_derived_probe::parse_probe_sig): Ditto.
(mark_derived_probe_group::emit_module_decls): Ditto.
(mark_derived_probe_group::emit_module_init): Ditto.
(mark_derived_probe_group::emit_module_exit): Ditto.

16 years ago2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 25 Sep 2007 02:56:53 +0000 (02:56 +0000)]
2007-09-25  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp Fix the wrong calling of returnstr($return) to
returnstr(1) or returnstr(2).

16 years ago2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 25 Sep 2007 02:55:19 +0000 (02:55 +0000)]
2007-09-25  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp Fix the wrong calling of  returnstr($return) to
returnstr(1) or returnstr(2).

16 years agomoving misplaced entry
fche [Tue, 25 Sep 2007 01:46:53 +0000 (01:46 +0000)]
moving misplaced entry

16 years ago2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 25 Sep 2007 00:50:52 +0000 (00:50 +0000)]
2007-09-25  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp Add function for probe point sunrpc.clnt.create_client.

16 years ago2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 25 Sep 2007 00:36:32 +0000 (00:36 +0000)]
2007-09-25  Zhaolei  <zhaolei@cn.fujitsu.com>

From CaiFei <caifei@cn.fujitsu.com>
* rpc.stp Add function for probe point sunrpc.clnt.create_client.

16 years ago* ignore emacs backup files too
fche [Mon, 24 Sep 2007 21:19:48 +0000 (21:19 +0000)]
* ignore emacs backup files too

16 years agoreplace examples buildok testing
fche [Mon, 24 Sep 2007 21:18:24 +0000 (21:18 +0000)]
replace examples buildok testing

* systemtap.samples/examples.exp: New file, replacing
* buildok/examples.stp: Removed.

16 years ago2007-09-24 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Mon, 24 Sep 2007 19:35:48 +0000 (19:35 +0000)]
2007-09-24  Masami Hiramatsu <mhiramat@redhat.com>

       PR 3916
       * buildrun.cxx (compile_pass): Add new autoconf options for checking
       time related APIs.
       * time.c (stp_time_t): Rename cpufreq to freq.
       (__stp_get_freq): Rename from __stp_estimate_cpufreq. Use tsc_khz or
       cpu_khz if it is available. Use itc_freq on ia64.
       (__stp_ktime_get_real_ts): New function to get current kernel time.
       (__stp_time_timer_callback): Call __stp_ktime_get_real_ts to get
       base time.
       (__stp_init_time): Ditto.
       (__stp_constant_freq): New function to check the processor has
       constant frequency timestamp counter.
       (_stp_kill_time): Don't use the cpufreq notifier if the processor has
       constant frequency timestamp counter.
       (_stp_init_time): Ditto.
       * autoconf-ktime-get-real.c : New file.
       * autoconf-constant-tsc.c: Ditto.
       * autoconf-tsc-khz.c: Ditto.

This page took 0.065952 seconds and 5 git commands to generate.