summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2007-10-12 Martin Hunt <hunt@redhat.com>hunt2007-10-123-4/+9
| | | | | * Makefile.am (staprun_LDADD): Add -lpthread. * Makefile.in: Rebuilt.
* timers.c init tid to 0 to workaround s390x bug.dwilder2007-10-122-1/+4
|
* 2007-10-12 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-122-2/+7
| | | | | * queue_stats.stp (qsq_start): Fix problem that compile fails when calling qsq_utilization or other query functions next to qsq_start.
* * 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.
* * specfile dep fixfche2007-10-112-1/+5
| | | | | | 2007-10-11 Frank Ch. Eigler <fche@elastic.org> * systemtap.spec.in: Make -testsuite subrpm require dejagnu.
* futimes.c : Only test system calls that have numbers assigned in asm/unistd.hdwilder2007-10-112-7/+22
|
* 2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-112-0/+16
| | | | | | | | | | * 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.
* 2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-112-0/+26
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfs_proc.stp (__nfs_write_data_info): Add data-access code for count, valid and timestamp.
* 2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-112-5/+21
| | | | * udp.stp: Add name argument for all probes.
* * runtime/uprobes/uprobes_ppc64.[ch]: Addedkenistoj2007-10-105-0/+404
| | | | * runtime/uprobes/uprobes_s390.[ch]: Added
* syscalltimes, syscalltimes.txt: New combination shell/SystemTap scriptmmason2007-10-103-0/+408
| | | | to measure system call times.
* 2007-10-10 Martin Hunt <hunt@redhat.com>hunt2007-10-102-2/+10
| | | | | * aux_syscalls.stp (_stp_lookup_str): When defaulting to a numeric value, append, don't overwrite.
* 2007-10-10 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-092-0/+10
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * aux_syscalls.stp (_stp_lookup_or_str) redirect to _stp_lookup_str if val is 0.
* PR 5083kenistoj2007-10-092-13/+46
| | | | | | | * 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.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-0911-739/+4
| | | | * user/*: Removed obsolete userspace test files.
* rpc.stp: Replaced atomic_read()'s with kread()'smmason2007-10-092-2/+6
|
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-092-0/+9
| | | | | | PR5153 * aux_syscalls.stp (_sighandler_str): No sa_restorer field for IA64.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-092-2/+11
| | | | * rt_signal.c: Fix expected results for IA64.
* 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.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-093-2/+22
| | | | | | | | | * syscalls2.stp (sys_signal): Call _sighandler_str(). * aux_syscalls.stp (_stp_sigset_str): Don't include SIG_0. (_sighandler_str): New.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-093-29/+36
| | | | | | | * rt_signal.c: Fix expected patterns to match recent changes in tapsets. * signal.c: Use syscall(). Fix expected patterns.
* 2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-092-0/+5
| | | | * queue_stats.stp (qsq_start): Add destruction for qs_utime.
* * regeneratedfche2007-10-091-1/+1
|
* 2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-092-9/+15
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * memory.stp (addr_to_node): Fix the compilation error of function addr_to_node on IA64.
* Documents checkin of moments ago.kenistoj2007-10-081-0/+24
|
* PR 5709kenistoj2007-10-0814-145/+227
| | | | | | | | | | | | | | | | | | | | | | | * 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
* PR1119: unused variable elision warningsfche2007-10-0613-12/+102
| | | | | | | | | | | | | | | | | | 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.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-052-0/+11
| | | | | * aux_syscalls.stp: Put #ifdef CONFIG_COMPAT around compat code.
* pr5036: systemtap-testsuite RPMfche2007-10-054-3/+45
| | | | | | | | | | 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.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-053-83/+123
| | | | | | | | | | | | | | * 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.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-052-1/+46
| | | | | * buildok/aux_syscalls-embedded.stp: Add all embedded C function in aux_syscalls.
* rhbz 319611: htonl and friends in tapsetfche2007-10-056-0/+49
| | | | | | | | | | 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.
* 2007-10-04 David Smith <dsmith@redhat.com>dsmith2007-10-042-6/+11
| | | | | * buildrun.cxx (compile_pass): Tweaked build system for the 2.6.23-rc8-mm2 kernel.
* 2007-10-04 Mike Mason <mmlnx@us.ibm.com>mmason2007-10-0413-0/+87
| | | | | | | | | | | | | | | | | * 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
* 2007-10-03 Frank Ch. Eigler <fche@elastic.org>fche2007-10-042-49/+49
| | | | | | | | | 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.
* 2007-10-04 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-042-2/+7
| | | | * queue_stats.stp (qsq_print): Make value of ops/s output as float
* testsuite verbosity cleanupfche2007-10-032-2/+6
| | | | | | 2007-10-03 Frank Ch. Eigler <fche@elastic.org> * systemtap.syscall/test.tcl: Don't list PASS on stdout.
* PR 5096: improve code generation for function callsfche2007-10-032-18/+26
| | | | | | | | | 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.
* * mention error probesfche2007-10-031-1/+8
|
* 2007-10-03 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-033-1/+15
| | | | | | * aux_syscalls.stp(_sockopt_level_str): Add support for protocol number 134~137. * socket.stp (global define,begin): Ditto.
* PR 3635: reduce number of global objectsfche2007-10-023-29/+53
| | | | | | | | | 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.
* 2007-10-02 Frank Ch. Eigler <fche@elastic.org>fche2007-10-022-4/+11
| | | | | | | PR 5041 From <michael.gruener@linux.vnet.ibm.com>: * loc2c-runtime.h (store_register): Add value as macro parameter where missing.
* nonefche2007-10-021-0/+0
|
* 2007-10-02 Frank Ch. Eigler <fche@redhat.com>fche2007-10-029-60/+172
| | | | | | | | | | | | | | | | | | | 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.
* 2007-10-02 William Cohen <wcohen@redhat.com>wcohen2007-10-024-8/+14
| | | | | | * systemtap.syscall/signal.c: * systemtap.syscall/uid16.c: Compilation regardless of defines. * systemtap.syscall/test.tcl: Handle UNSUPP tests correctly.
* 2007-10-02 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-022-8/+39
| | | | | * tcp.stp: Add name argument for all probes. * tcp.stp (tcp.setsockopt.return): Add comment.
* 2007-10-01 Martin Hunt <hunt@redhat.com>hunt2007-10-012-7/+12
| | | | | * test.tcl (run_one_test): Append newlines when using send_log().
* 2007-10-01 Martin Hunt <hunt@redhat.com>hunt2007-10-012-1/+6
| | | | | * aux_syscalls.stp (_str_lookup_str): Print unmatched values in hex.
* 2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-302-1/+5
| | | | * socket.stp (_success_check): Fix compare method.