summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-121-0/+1
| | | | * tapsets.cxx (build_blacklist): Add __raw_spin_is_locked.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-0918-16/+43
| | | | | | * README: New. * *.stp. Fix path. See PR 4718.
* 2007-11-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-11-0911-4/+145
| | | | | | | | | | | | | | | | 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.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-095-7/+25
| | | | | | | | | 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.
* 2007-11-09 Martin Hunt <hunt@redhat.com>hunt2007-11-092-1/+6
| | | | | * mainloop.c (stp_main_loop): Bump recvbuf to 8196 for compatibility with old transport.
* 2007-11-8 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-082-6/+14
| | | | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * rpc.stp (clones_from_clnt): Use deref to check, then use atomic_read to read an atomic_t to avoid compilation error of type matching. (tasks_from_clnt): Ditto.
* 2007-11-6 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-062-1/+11
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * rpc.stp (sunrpc.clnt.call_sync): Define procname only for kernel>=2.6.17. (sunrpc.clnt.call_async): Ditto.
* 2007-11-5 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-052-17/+25
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfs_proc.stp: Use kread in get_ip and get_prot to avoid kernel panic.
* 2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-021-0/+7
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfsd.stp: Fix the semantic error caused by the difference of kernel versions. * nfs_proc.stp: Ditto.
* 2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-022-0/+20
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfsd.stp: Fix the semantic error caused by the difference of kernel versions. * nfs_proc.stp: Ditto.
* 2007-11-01 Martin Hunt <hunt@redhat.com>hunt2007-11-015-33/+54
| | | | | | * 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.
* 2007-11-1 Will Cohen <wcohen@redhat.com>wcohen2007-11-012-0/+9
| | | | | * syscall2.stp (sys_remap_file_pages): Fix compile error with kernel version greater than 2.6.23.
* 2007-11-1 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-012-0/+8
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * rpc.stp (clones_from_clnt): Add CATCH_DEREF_FAULT(). (tasks_from_clnt): Ditto.
* 2007-10-26 Martin Hunt <hunt@redhat.com>hunt2007-10-262-1/+10
| | | | | | PR5218 * stapio.c (main): Set initialized properly when attached.
* 2007-10-25 Josh Stone <joshua.i.stone@intel.com>jistone2007-10-262-2/+9
| | | | | | PR 5219 * stap.1.in: Add a note about string literal limitations in printf and printd.
* 2007-10-25 Martin Hunt <hunt@redhat.com>hunt2007-10-264-22/+33
| | | | | | | * systemtap.printf/printd.exp: New. Runs printd.stp and printdln.stp. * systemtap.printf/printdln.stp: Removed bad tests. * systemtap.printf/printd.stp: Ditto.
* stat-common.c: Allow histogram bucket elision to be turned offmmason2007-10-252-29/+41
| | | | | with -DHIST_ELISION=<negative #>. Also cleaned up looping code to prevent unnecessary interation over non-existent buckets.
* 2007-10-25 Martin Hunt <hunt@redhat.com>hunt2007-10-2511-0/+635
| | | | | | | | | | | | * 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.
* 2007-10-25 Martin Hunt <hunt@redhat.com>hunt2007-10-253-0/+84
| | | | | * systemtap.printf/printd.stp: New * systemtap.printf/printdln.stp: New
* uprobes ppc64 ssol changessrikar2007-10-253-14/+124
|
* x86_64 uprobeskenistoj2007-10-223-0/+785
|
* Fixed 10/16 update to arch_validate_probed_insn() decls.kenistoj2007-10-193-2/+8
|
* 2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-194-105/+78
| | | | | | | | | | | | | * 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.
* 2007-10-19 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-192-59/+170
| | | | | | | | | | | | | | 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.
* * stapprobes.5.in: Removed C label reference.mmason2007-10-182-7/+37
| | | | | Clarified source path requirements for probe definitions. Fixed some vertical spacing issues.
* Removed stapprobes.task.5.in. Contents moved to stapfuncs.5.inmmason2007-10-181-207/+0
|
* Corrected tokenize() description. Added task_* functions.mmason2007-10-182-6/+85
|
* *** empty log message ***hunt2007-10-183-24/+21
|
* 2007-10-17 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-172-0/+9
| | | | | * autoconf-tsc-khz.c: Not to be compiled if the kernel version is younger than 2.6.23 on i386.
* 2007-10-16 Martin Hunt <hunt@redhat.com>hunt2007-10-1711-79/+23
| | | | | | | | | | | | | | | | | | 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.
* 2007-10-17 Martin Hunt <hunt@redhat.com>hunt2007-10-172-8/+4
| | | | | PR5000 * endian.stp (set_endian): Remove.
* 2007-10-17 Martin Hunt <hunt@redhat.com>hunt2007-10-172-23/+4
| | | | | PR5000 * vsprintf.c: Remove _stp_endian.
* * runtime/uprobes/uprobes.[ch], uprobes_i386.[ch],kenistoj2007-10-167-21/+52
| | | | | | | | | 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
* .roland2007-10-151-12/+23
|
* 2007-10-15 Roland McGrath <roland@redhat.com>roland2007-10-151-13/+34
| | | | | | | | | | | 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.
* 2007-10-15 David Smith <dsmith@redhat.com>dsmith2007-10-152-2/+12
| | | | | | | * 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.
* added test for 32-bit value of AT_FDCWDdwilder2007-10-152-1/+6
|
* 2007-10-15 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-152-1/+5
| | | | * autoconf-tsc-khz.c: Fix a bug to be configured correctly.
* 2007-10-15 David Smith <dsmith@redhat.com>dsmith2007-10-152-8/+14
| | | | | | From David Wilder <dwilder@us.ibm.com> * tapsets.cxx (mark_query::handle_query_module): Updated to handle 64-bit platforms correctly.
* 2007-10-15 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-156-34/+75
| | | | | | | | | | | 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.
* 2007-10-12 David Smith <dsmith@redhat.com>dsmith2007-10-122-84/+255
| | | | | | | | | * 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.
* 2007-10-12 Martin Hunt <hunt@redhat.com>hunt2007-10-124-104/+472
| | | | | | | | | | * 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.
* 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.