]> sourceware.org Git - systemtap.git/log
systemtap.git
16 years ago2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 2 Nov 2007 06:29:33 +0000 (06:29 +0000)]
2007-11-2  Zhaolei  <zhaolei@cn.fujitsu.com>

From Cai Fei <caifei@cn.fujitsu.com>
* nfsd.stp: Fix the semantic error caused by the difference of
kernel versions.
* nfs_proc.stp: Ditto.

16 years ago2007-11-01 Martin Hunt <hunt@redhat.com>
hunt [Thu, 1 Nov 2007 19:19:33 +0000 (19:19 +0000)]
2007-11-01  Martin Hunt  <hunt@redhat.com>

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

16 years ago2007-11-1 Will Cohen <wcohen@redhat.com>
wcohen [Thu, 1 Nov 2007 14:18:18 +0000 (14:18 +0000)]
2007-11-1  Will Cohen  <wcohen@redhat.com>

* syscall2.stp (sys_remap_file_pages): Fix compile error with kernel
version greater than 2.6.23.

16 years ago2007-11-1 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 1 Nov 2007 07:26:47 +0000 (07:26 +0000)]
2007-11-1  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* rpc.stp (clones_from_clnt): Add CATCH_DEREF_FAULT().
(tasks_from_clnt): Ditto.

16 years ago2007-10-26 Martin Hunt <hunt@redhat.com>
hunt [Fri, 26 Oct 2007 04:39:35 +0000 (04:39 +0000)]
2007-10-26  Martin Hunt  <hunt@redhat.com>
PR5218
* stapio.c (main): Set initialized properly when
attached.

16 years ago2007-10-25 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 26 Oct 2007 01:45:21 +0000 (01:45 +0000)]
2007-10-25  Josh Stone  <joshua.i.stone@intel.com>

PR 5219
* stap.1.in: Add a note about string literal limitations in printf
and printd.

16 years ago2007-10-25 Martin Hunt <hunt@redhat.com>
hunt [Fri, 26 Oct 2007 01:06:11 +0000 (01:06 +0000)]
2007-10-25  Martin Hunt  <hunt@redhat.com>

* systemtap.printf/printd.exp: New.
Runs printd.stp and printdln.stp.
* systemtap.printf/printdln.stp: Removed bad tests.
* systemtap.printf/printd.stp: Ditto.

16 years agostat-common.c: Allow histogram bucket elision to be turned off
mmason [Thu, 25 Oct 2007 23:25:45 +0000 (23:25 +0000)]
stat-common.c: Allow histogram bucket elision to be turned off
with -DHIST_ELISION=<negative #>.  Also cleaned up looping code to
prevent unnecessary interation over non-existent buckets.

16 years ago2007-10-25 Martin Hunt <hunt@redhat.com>
hunt [Thu, 25 Oct 2007 22:22:16 +0000 (22:22 +0000)]
2007-10-25  Martin Hunt  <hunt@redhat.com>

* systemtap.printf/print_char.*: New test.
* systemtap.printf/print.*: New test.
* systemtap.printf/println.*: New test.

* systemtap.maps/elision.*: New tests.

* config/unix.exp: Added stap_run_exact.
* lib/stap_run_exact.exp: New. Like stap_run2 but
takes a seperate test name.

16 years ago2007-10-25 Martin Hunt <hunt@redhat.com>
hunt [Thu, 25 Oct 2007 18:40:37 +0000 (18:40 +0000)]
2007-10-25  Martin Hunt  <hunt@redhat.com>

* systemtap.printf/printd.stp: New
* systemtap.printf/printdln.stp: New

16 years agouprobes ppc64 ssol changes
srikar [Thu, 25 Oct 2007 13:54:41 +0000 (13:54 +0000)]
uprobes ppc64 ssol changes

16 years agox86_64 uprobes
kenistoj [Mon, 22 Oct 2007 20:12:10 +0000 (20:12 +0000)]
x86_64 uprobes

16 years agoFixed 10/16 update to arch_validate_probed_insn() decls.
kenistoj [Fri, 19 Oct 2007 20:28:16 +0000 (20:28 +0000)]
Fixed 10/16 update to arch_validate_probed_insn() decls.

16 years ago2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Fri, 19 Oct 2007 20:04:35 +0000 (20:04 +0000)]
2007-10-19  Masami Hiramatsu <mhiramat@redhat.com>

        * staplog.c: Cleanup code and remove end-of-line spaces.
        (create_output_filename): Use snprintf instead of sprintf and remove
        malloc().
        (print_rchan_info): Merge into output_cpu_logs().
        (open_output_file): Use GETBUF() instead of malloc().
        (output_cpu_logs): Simplify logic and remove unused code.
        (do_staplog): Merge into cmd_staplog().
        (help_staplog): Fix typos.
        * Makefile.am (STAPLOG): Add -Wall option.
        * Makefile.in: Regenerated.

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

        From Satoru Moriya <satoru.moriya.br@hitachi.com>:
        * staplog.c :(create_output_dir): New function for creating output
        directory.
        (create_output_filename): New function for making output filename.
        (print_rchan_info): New function for displaying relay channel status.
        (open_output_file): New function for opening output file.
        (output_cpu_logs): Cleanup code and fix bugs to retrieve buffer
        data even when the last buffer is full and even if the systemtap
        uses old(non-utt) format. Add a routine for '-a' option.
        (cmd_staplog): Add '-a' option.
        (help_staplog): Ditto.

16 years ago* stapprobes.5.in: Removed C label reference.
mmason [Thu, 18 Oct 2007 22:26:12 +0000 (22:26 +0000)]
* stapprobes.5.in: Removed C label reference.
Clarified source path requirements for probe
definitions.  Fixed some vertical spacing issues.

16 years agoRemoved stapprobes.task.5.in. Contents moved to stapfuncs.5.in
mmason [Thu, 18 Oct 2007 17:10:09 +0000 (17:10 +0000)]
Removed stapprobes.task.5.in. Contents moved to stapfuncs.5.in

16 years agoCorrected tokenize() description. Added task_* functions.
mmason [Thu, 18 Oct 2007 16:37:07 +0000 (16:37 +0000)]
Corrected tokenize() description.  Added task_* functions.

16 years ago*** empty log message ***
hunt [Thu, 18 Oct 2007 16:27:40 +0000 (16:27 +0000)]
*** empty log message ***

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

        * autoconf-tsc-khz.c: Not to be compiled if the kernel version is
        younger than 2.6.23 on i386.

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

PR 5000
* systemtap.printf/bin3.stp. Removed.
* systemtap.printf/bin3a.stp. Renamed bin3.stp.
* systemtap.printf/bin4.stp. Removed.
* systemtap.printf/bin4a.stp. Renamed bin4.stp.
* systemtap.printf/bin5.stp. Removed.
* systemtap.printf/bin5a.stp. Renamed bin5.stp.
* systemtap.printf/bin3.exp: Don't run bin3a.stp.
* systemtap.printf/bin4.exp: Don't run bin4a.stp.
* systemtap.printf/bin5.exp: Don't run bin5a.stp.

Increase reliability under loads.
* systemtap.samples/pfaults.exp: Increase MAXACTION.
* systemtap.context/backtrace.tcl: Handle just
a single userspace address.

16 years ago2007-10-17 Martin Hunt <hunt@redhat.com>
hunt [Wed, 17 Oct 2007 12:53:44 +0000 (12:53 +0000)]
2007-10-17  Martin Hunt  <hunt@redhat.com>
PR5000
* endian.stp (set_endian): Remove.

16 years ago2007-10-17 Martin Hunt <hunt@redhat.com>
hunt [Wed, 17 Oct 2007 12:52:27 +0000 (12:52 +0000)]
2007-10-17  Martin Hunt  <hunt@redhat.com>
PR5000
* vsprintf.c: Remove _stp_endian.

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")

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