summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PR 5057: histogram zero elisionfche2007-09-225-0/+92
| | | | | | | | | | | | | | | 2007-09-22 Frank Ch. Eigler <fche@elastic.org> PR 5057. * stat-common.c (_stp_stat_print_histogram): Elide consecutive zero rows beyond 2*STAT_ELISION+1. (STAT_ELISION): New parameter, default 2. 2007-09-22 Frank Ch. Eigler <fche@elastic.org> PR 5057. * systemtap.maps/linear_nearlyempty.*: New test for histogram printing elision.
* 2007-09-21 Martin Hunt <hunt@redhat.com>hunt2007-09-212-25/+70
| | | | | | | | PR 5024 * stat-common.c (_stp_stat_print_histogram): Change overflow and underflow handling for linear histograms. (__stp_stat_add): For linear histograms, use under and over buckets.
* 2007-09-21 Martin Hunt <hunt@redhat.com>hunt2007-09-219-2/+193
| | | | * systemtap.maps/linear*: Updated linear histogram tests.
* 2007-09-21 Martin Hunt <hunt@redhat.com>hunt2007-09-212-2/+7
| | | | | * lib/stap_run2.exp (stap_run2): Use send_log() instead of puts to save failure context in the log.
* add git usage infofche2007-09-211-1/+4
|
* rhbz 300121: optimization bugfche2007-09-215-2/+57
|
* 2007-09-21 Martin Hunt <hunt@redhat.com>hunt2007-09-212-1/+5
| | | | | From Alan Brunelle * control.c (_stp_ctl_read_cmd): Cast count to an int before printing.
* 2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-213-1/+21
| | | | | | | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * aux_syscalls.stp (_sys_open_flag_str): Fix bug that missing "O_ASYNC". From Lai Jiangshan <laijs@cn.fujitsu.com> * aux_syscalls.stp: Add a function _mremap_flags. * syscalls.stp (syscall.mremap): Use _mremap_flags instead of _mmap_flags.
* dummy commitfche2007-09-210-0/+0
|
* 2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-211-0/+5
| | | | | * aux_syscalls.stp(_reboot_magic_str) Fix the problem that LINUX_REBOOT_MAGIC1 printed as UNKNOWN VALUE.
* 2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-211-8/+31
| | | | | * aux_syscalls.stp(_reboot_magic_str) Fix the problem that LINUX_REBOOT_MAGIC1 printed as UNKNOWN VALUE.
* 2007-09-20 Martin Hunt <hunt@redhat.com>hunt2007-09-203-5/+9
| | | | | * transport.h: Increase default buffer size. * control.c (_stp_ctl_read_cmd): Check buffer size.
* 2007-09-19 Martin Hunt <hunt@redhat.com>hunt2007-09-194-26/+41
| | | | | | | | | | | | | | | | PR 2295 * syscalls.stp (sys_bdflush): Make optional. (sys_madvise): Ditto. (sys_mincore): Ditto. (sys_mlock): Ditto. (sys_mlockall): Ditto. (sys_mprotect): Ditto. (sys_mremap): Ditto. (sys_msync): Ditto. (sys_munlock): Ditto. (sys_munlockall): Ditto. * syscalls2.stp (sys_remap_pages): Make optional. * ppc64/syscalls.stp (ppc_rtas): Make optional.
* 2007-09-19 Martin Hunt <hunt@redhat.com>hunt2007-09-195-131/+121
| | | | | | | | | | | PR 4931 * test-debug.tcl (cleanup): Remove print. * README: Update. * syscall.exp: Source test.tcl and call run_one_test() from there. * test.tcl: Rewrite as a function. Do compilation as well as testing. Compile into and execute in a directory in /tmp.
* 2007-09-19 Martin Hunt <hunt@redhat.com>hunt2007-09-192-3/+28
| | | | | | | | | | PR 5042 * procfs.c (_stp_rmdir_proc_module): Warn if removal of /proc/systemtap/module is deferred. Do not defer removal of /proc/systemtap. (_stp_mkdir_proc_module): Call path_release(). Set ownership of /proc/systemtap/module to force deletion to be deferred. (_stp_create_procfs): Set owner of all path components.
* 2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-192-1/+15
| | | | | * syscall.stp(getrusage) Fix the output of getrusage's argstr when who is set to -2.
* 2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-191-0/+8
| | | | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * ia64/syscalls.stp Add a probe point syscall.sigaltstack for ia64. * signal.stp(signal.force_segv) Add a part(force_sigsegv_info) for signal.force_segv.
* 2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-191-2/+16
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * signal.stp(signal.force_segv) Add a part(force_sigsegv_info) for signal.force_segv.
* 2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-191-0/+19
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * ia64/syscalls.stp Add a probe point syscall.sigaltstack for ia64
* 2007-09-18 David Smith <dsmith@redhat.com>dsmith2007-09-183-0/+119
| | | | | | * systemtap.base/procfs.exp: New test case. * lib/stap_run.exp (stap_run): Handles the case where the stap '-m' option was used.
* 2007-09-17 David Smith <dsmith@redhat.com>dsmith2007-09-176-0/+33
| | | | | | | | * semko/procfs06.stp: New test case. * semko/procfs07.stp: Ditto. * semko/procfs08.stp: Ditto. * semko/procfs09.stp: Ditto. * semko/procfs10.stp: Ditto.
* 2007-09-17 David Smith <dsmith@redhat.com>dsmith2007-09-172-1/+50
| | | | | PR 1154 * stapprobes.5.in: Documented procfs probes.
* 2007-09-17 David Smith <dsmith@redhat.com>dsmith2007-09-172-0/+36
| | | | * tapsets.cxx (procfs_builder::build): Validate procfs path.
* *** empty log message ***hunt2007-09-171-4/+4
|
* 2007-09-17 Martin Hunt <hunt@redhat.com>hunt2007-09-171-0/+4
| | | | * timer.c (main): Remove the return value checks.
* 2007-09-17 Martin Hunt <hunt@redhat.com>hunt2007-09-171-2/+6
| | | | | * systemtap.samples/system_func.stp: PR4466 Add some additional checks to eliminates any races in output.
* 2007-09-15 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-162-0/+39
| | | | | PR 4930 * buildok/examples.stp: New test case.
* 2007-09-15 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-163-6/+15
| | | | | * iostat-scsi.stp: Make module probe optional,clarify reference to flags. * small_demos/sched_snoop.stp(scheduler.migrage,scheduler.balance): Make optional.
* Remove debug.hunt2007-09-141-1/+0
|
* 2007-09-14 Martin Hunt <hunt@redhat.com>hunt2007-09-142-6/+16
| | | | | * procfs.c (_stp_create_procfs): Be sure that directories in the path are really directories and not files.
* 2007-09-14 David Smith <dsmith@redhat.com>dsmith2007-09-147-0/+44
| | | | | | | | | | PR 1154 * buildok/procfs01.stp: New test case. * semko/procfs01.stp: Ditto. * semko/procfs02.stp: Ditto. * semko/procfs03.stp: Ditto. * semko/procfs04.stp: Ditto. * semko/procfs05.stp: Ditto.
* 2007-09-14 David Smith <dsmith@redhat.com>dsmith2007-09-142-1/+10
| | | | | | | | | PR 1154 * tapsets.cxx (procfs_var_expanding_copy_visitor::visit_target_symbol): Disallows reading from $value in a procfs read probe. (procfs_derived_probe_group::emit_module_init): Updated previous fix.
* 2007-09-14 Martin Hunt <hunt@redhat.com>hunt2007-09-143-38/+14
| | | | | | | | | * ctl.c (init_ctl_channel): Return 1 if the ctl file opened was for the old relayfs transport. * mainloop.c (init_stapio): Don't call using_old_transport(). Use the return of init_ctl_channel() instead. (using_old_transport): Deleted.
* 2007-09-14 David Smith <dsmith@redhat.com>dsmith2007-09-142-9/+28
| | | | | | | PR 1154 * tapsets.cxx (procfs_derived_probe_group::emit_module_init): Fixed problem where if only one type (read/write) of procfs probe was defined, the generated code wouldn't compile.
* 2007-09-13 David Smith <dsmith@redhat.com>dsmith2007-09-132-8/+44
| | | | | | * task.stp (task_open_file_handles): Fixed for kernels less than version 2.6.15. (task_max_file_handles): Ditto.
* 2007-09-13 David Smith <dsmith@redhat.com>dsmith2007-09-132-18/+50
| | | | | | | | | | PR 1154 * tapsets.cxx (procfs_derived_probe::procfs_derived_probe): Removed debug print. (procfs_derived_probe_group::emit_module_decls): Improved error handling and added support for procfs.write probes. (procfs_var_expanding_copy_visitor::visit_target_symbol): Removed debug print.
* 2007-09-13 David Smith <dsmith@redhat.com>dsmith2007-09-132-10/+15
| | | | | | | | * procfs.c (_stp_procfs_dir_lookup): Added 'const' qualifier to 'dir' parameter. (_stp_create_procfs): Added 'const' qualifier to 'path' parameter. Removed debug prints. (_stp_close_procfs): Removed debug prints.
* 2007-09-13 Martin Hunt <hunt@redhat.com>hunt2007-09-132-2/+6
| | | | * aux_syscalls.stp: Replace get_user calls with __stp_get_user.
* 2007-09-13 Martin Hunt <hunt@redhat.com>hunt2007-09-133-0/+94
| | | | | * systemtap.base/limits.exp: New. Test 32 and 64-bit integer extremes.
* mention print*fche2007-09-131-0/+4
|
* 2007-09-12 Frank Ch. Eigler <fche@elastic.org>fche2007-09-134-1/+11
| | | | | | | | * parse.cxx (parse_symbol): Accept println(@hist*()). 2007-09-12 Frank Ch. Eigler <fche@elastic.org> * buildok/print_histograms.stp: Test println(@hist*()).
* 2007-09-12 Frank Ch. Eigler <fche@elastic.org>fche2007-09-134-5/+41
| | | | | | | | | | | PR 5023 * translate.cxx (c_unparser::visit_literal_number): Support LLONG_MIN. (visit_unary_expression): Likewise. 2007-09-12 Frank Ch. Eigler <fche@elastic.org> PR 5023. * buildok/ten.stp: Extend some more.
* 2007-09-12 Martin Hunt <hunt@redhat.com>hunt2007-09-127-45/+53
| | | | | | | | | | | | | | PR 5019 * elaborate.cxx (visit_hist_op): Remove log histogram param. * translate.cxx (assert_hist_compatible): Ditto. * staptree.cxx (hist_op::print): Ditto. * session.h (statistic_decl): Ditto. * parse.cxx (expect_number): Allow negative numbers. Also validate that input is really numeric. This is used by histograms to get the parameters. (parse_hist_op_or_bare_name): Remove code to get parameter for log histograms.
* 2007-09-12 David Smith <dsmith@redhat.com>dsmith2007-09-123-37/+300
| | | | | | * translate.cxx (c_unparser::emit_common_header): Added 'data' variable to context structure to support procfs probes. * tapsets.cxx: Improved procfs probe handling.
* 2007-09-12 Martin Hunt <hunt@redhat.com>hunt2007-09-128-144/+193
| | | | | | | | | | | | | | | | | | | | | | | * map-stat.c (_stp_map_new_hstat_log): Set buckets to HIST_LOG_BUCKETS. (_stp_pmap_new_hstat_log): Ditto. (_stp_map_new_hstat_linear): Call _stp_stat_calc_buckets(). (_stp_pmap_new_hstat_linear): Ditto. * stat.h (STP_MAX_BUCKETS): Define.. (HIST_LOG_BUCKETS): Define. * stat.c (_stp_stat_init): Call _stp_stat_calc_buckets(). * stat-common.c (_stp_stat_calc_buckets): New function. Common bucket calculation and error reporting code. (_stp_bucket_to_val): New function. (_stp_val_to_bucket): Renamed and now handles negative numbers. (_stp_stat_print_histogram): Handle negative values in log histograms. (__stp_stat_add): Cleanup.. * map-gen.c (_stp_map_new): Remove buckets param for HIST_LOG. * pmap-gen.c (_stp_pmap_new): Ditto.
* 2007-09-12 Martin Hunt <hunt@redhat.com>hunt2007-09-1211-59/+321
| | | | | | | | | | | | | | | | | * systemtap.maps/foreach_limit.stp: Clean up the aggregates section. * systemtap.maps/foreach_limit2.stp: Remove newline that was confusing the output match. * systemtap.maps/linear_bad.exp: Fix expected output. * systemtap.maps/linear_neg.exp: Ditto. * systemtap.maps/log.*: New files. * systemtap.maps/log_edge.*: New files. * lib/stap_run2.exp (stap_run2): Rewrite. Previous version was too complex and buggy.
* 2007-09-12 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-09-124-9/+116
| | | | | | | | PR 4633 * systemtap.context/backtrace.stp: Add testcases for the return probe and the profile probe. * systemtap.context/backtrace.tcl: Ditto. * /systemtap.context/systemtap_test_module2.c: Ditto.
* 2007-09-12 Frank Ch. Eigler <fche@elastic.org>fche2007-09-122-1/+8
| | | | | PR 5023. * buildok/ten.stp: Reactivate and extend.
* Add a reference to PR 5014.jistone2007-09-111-0/+1
|
* 2007-09-11 Josh Stone <joshua.i.stone@intel.com>jistone2007-09-112-4/+16
| | | | | | * systemtap.maps/pmap_agg_overflow.stp: Ensure that the percpu arrays don't overflow before we get the chance to test aggregation overflow. Also use a more optimal overflow limit (MAXMAPENTRIES + 1).