]>
sourceware.org Git - systemtap.git/log
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.
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").
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")
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.
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.
fche [Tue, 25 Sep 2007 19:31:32 +0000 (19:31 +0000)]
typo fix
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.
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.
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.
hunt [Tue, 25 Sep 2007 18:35:04 +0000 (18:35 +0000)]
*** empty log message ***
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.
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.
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 [].
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.
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.
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.
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.
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.
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).
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).
fche [Tue, 25 Sep 2007 01:46:53 +0000 (01:46 +0000)]
moving misplaced entry
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.
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.
fche [Mon, 24 Sep 2007 21:19:48 +0000 (21:19 +0000)]
* ignore emacs backup files too
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.
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.
fche [Mon, 24 Sep 2007 18:31:01 +0000 (18:31 +0000)]
Add missing CATCH_DEREF_FAULT()s.
fche [Mon, 24 Sep 2007 18:16:16 +0000 (18:16 +0000)]
Add /* pure */ to embedded-C functions.
fche [Mon, 24 Sep 2007 18:13:48 +0000 (18:13 +0000)]
* conversions.stp (user_string): Redefine in terms of user_string2.
fche [Mon, 24 Sep 2007 17:52:40 +0000 (17:52 +0000)]
* buildok test cases for every embedded-C function
2007-09-24 Frank Ch. Eigler <fche@elastic.org>
* buildok/*-embedded.stp: New test case for every embedded-C
function in the tapsets.
hunt [Mon, 24 Sep 2007 14:19:02 +0000 (14:19 +0000)]
2007-09-24 Martin Hunt <hunt@redhat.com>
* aux_syscalls.stp (_at_flag_str): Add some more flags.
* syscalls2.stp (openat): Call _dfd_str().
hunt [Mon, 24 Sep 2007 14:16:25 +0000 (14:16 +0000)]
2007-09-24 Martin Hunt <hunt@redhat.com>
* link.c (main): Don't check result code.
dsmith [Mon, 24 Sep 2007 13:56:35 +0000 (13:56 +0000)]
2007-09-24 David Smith <dsmith@redhat.com>
* nfsd.stp (__svc_fh): Added missing semicolon.
fche [Sun, 23 Sep 2007 21:09:29 +0000 (21:09 +0000)]
2007-09-23 Ulrich Drepper <drepper@redhat.com>
* syscalls2.stp (readlinkat): Add.
fche [Sat, 22 Sep 2007 17:18:07 +0000 (17:18 +0000)]
cvs/gitignore updates
fche [Sat, 22 Sep 2007 16:51:16 +0000 (16:51 +0000)]
2007-09-22 Frank Ch. Eigler <fche@elastic.org>
* systemtap.base/optim.exp: Wait for both result lines.
fche [Sat, 22 Sep 2007 16:48:45 +0000 (16:48 +0000)]
2007-09-22 Frank Ch. Eigler <fche@elastic.org>
* systemtap.maps/linear_overunder.exp: Correct for actual data.
fche [Sat, 22 Sep 2007 16:45:13 +0000 (16:45 +0000)]
PR 5057: histogram zero elision
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.
hunt [Fri, 21 Sep 2007 19:14:31 +0000 (19:14 +0000)]
2007-09-21 Martin Hunt <hunt@redhat.com>
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.
hunt [Fri, 21 Sep 2007 19:11:41 +0000 (19:11 +0000)]
2007-09-21 Martin Hunt <hunt@redhat.com>
* systemtap.maps/linear*: Updated linear histogram tests.
hunt [Fri, 21 Sep 2007 19:06:31 +0000 (19:06 +0000)]
2007-09-21 Martin Hunt <hunt@redhat.com>
* lib/stap_run2.exp (stap_run2): Use send_log()
instead of puts to save failure context in the log.
fche [Fri, 21 Sep 2007 18:12:54 +0000 (18:12 +0000)]
add git usage info
fche [Fri, 21 Sep 2007 18:03:28 +0000 (18:03 +0000)]
rhbz 300121: optimization bug
hunt [Fri, 21 Sep 2007 13:46:30 +0000 (13:46 +0000)]
2007-09-21 Martin Hunt <hunt@redhat.com>
From Alan Brunelle
* control.c (_stp_ctl_read_cmd): Cast count to an int before printing.
zhaolei [Fri, 21 Sep 2007 06:53:27 +0000 (06:53 +0000)]
2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>
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.
fche [Fri, 21 Sep 2007 01:21:20 +0000 (01:21 +0000)]
dummy commit
zhaolei [Fri, 21 Sep 2007 00:19:53 +0000 (00:19 +0000)]
2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>
* aux_syscalls.stp(_reboot_magic_str) Fix the problem that
LINUX_REBOOT_MAGIC1 printed as UNKNOWN VALUE.
zhaolei [Fri, 21 Sep 2007 00:16:31 +0000 (00:16 +0000)]
2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>
* aux_syscalls.stp(_reboot_magic_str) Fix the problem
that LINUX_REBOOT_MAGIC1 printed as UNKNOWN VALUE.
hunt [Thu, 20 Sep 2007 17:03:45 +0000 (17:03 +0000)]
2007-09-20 Martin Hunt <hunt@redhat.com>
* transport.h: Increase default buffer size.
* control.c (_stp_ctl_read_cmd): Check buffer size.
hunt [Wed, 19 Sep 2007 20:25:55 +0000 (20:25 +0000)]
2007-09-19 Martin Hunt <hunt@redhat.com>
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.
hunt [Wed, 19 Sep 2007 16:35:02 +0000 (16:35 +0000)]
2007-09-19 Martin Hunt <hunt@redhat.com>
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.
hunt [Wed, 19 Sep 2007 13:04:57 +0000 (13:04 +0000)]
2007-09-19 Martin Hunt <hunt@redhat.com>
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.
zhaolei [Wed, 19 Sep 2007 02:46:43 +0000 (02:46 +0000)]
2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
* syscall.stp(getrusage) Fix the output of getrusage's argstr
when who is set to -2.
zhaolei [Wed, 19 Sep 2007 01:36:52 +0000 (01:36 +0000)]
2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
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.
zhaolei [Wed, 19 Sep 2007 01:35:53 +0000 (01:35 +0000)]
2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
From Lai Jiangshan <laijs@cn.fujitsu.com>
* signal.stp(signal.force_segv) Add a part(force_sigsegv_info)
for signal.force_segv.
zhaolei [Wed, 19 Sep 2007 01:34:56 +0000 (01:34 +0000)]
2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
From Lai Jiangshan <laijs@cn.fujitsu.com>
* ia64/syscalls.stp Add a probe point syscall.sigaltstack for
ia64
dsmith [Tue, 18 Sep 2007 21:09:52 +0000 (21:09 +0000)]
2007-09-18 David Smith <dsmith@redhat.com>
* systemtap.base/procfs.exp: New test case.
* lib/stap_run.exp (stap_run): Handles the case where the stap
'-m' option was used.
dsmith [Mon, 17 Sep 2007 20:43:57 +0000 (20:43 +0000)]
2007-09-17 David Smith <dsmith@redhat.com>
* semko/procfs06.stp: New test case.
* semko/procfs07.stp: Ditto.
* semko/procfs08.stp: Ditto.
* semko/procfs09.stp: Ditto.
* semko/procfs10.stp: Ditto.
dsmith [Mon, 17 Sep 2007 20:41:17 +0000 (20:41 +0000)]
2007-09-17 David Smith <dsmith@redhat.com>
PR 1154
* stapprobes.5.in: Documented procfs probes.
dsmith [Mon, 17 Sep 2007 17:45:11 +0000 (17:45 +0000)]
2007-09-17 David Smith <dsmith@redhat.com>
* tapsets.cxx (procfs_builder::build): Validate procfs path.
hunt [Mon, 17 Sep 2007 17:32:09 +0000 (17:32 +0000)]
*** empty log message ***
hunt [Mon, 17 Sep 2007 17:13:45 +0000 (17:13 +0000)]
2007-09-17 Martin Hunt <hunt@redhat.com>
* timer.c (main): Remove the return value checks.
hunt [Mon, 17 Sep 2007 17:05:30 +0000 (17:05 +0000)]
2007-09-17 Martin Hunt <hunt@redhat.com>
* systemtap.samples/system_func.stp: PR4466
Add some additional checks to eliminates any races in output.
wenji [Sun, 16 Sep 2007 02:17:01 +0000 (02:17 +0000)]
2007-09-15 Wenji Huang <wenji.huang@oracle.com>
PR 4930
* buildok/examples.stp: New test case.
wenji [Sun, 16 Sep 2007 02:12:14 +0000 (02:12 +0000)]
2007-09-15 Wenji Huang <wenji.huang@oracle.com>
* iostat-scsi.stp: Make module probe optional,clarify reference to flags.
* small_demos/sched_snoop.stp(scheduler.migrage,scheduler.balance): Make optional.
hunt [Fri, 14 Sep 2007 17:33:29 +0000 (17:33 +0000)]
Remove debug.
hunt [Fri, 14 Sep 2007 17:32:14 +0000 (17:32 +0000)]
2007-09-14 Martin Hunt <hunt@redhat.com>
* procfs.c (_stp_create_procfs): Be sure that directories in the path
are really directories and not files.
dsmith [Fri, 14 Sep 2007 16:53:50 +0000 (16:53 +0000)]
2007-09-14 David Smith <dsmith@redhat.com>
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.
dsmith [Fri, 14 Sep 2007 16:46:00 +0000 (16:46 +0000)]
2007-09-14 David Smith <dsmith@redhat.com>
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.
hunt [Fri, 14 Sep 2007 16:11:12 +0000 (16:11 +0000)]
2007-09-14 Martin Hunt <hunt@redhat.com>
* 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.
dsmith [Fri, 14 Sep 2007 14:29:21 +0000 (14:29 +0000)]
2007-09-14 David Smith <dsmith@redhat.com>
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.
dsmith [Thu, 13 Sep 2007 20:06:39 +0000 (20:06 +0000)]
2007-09-13 David Smith <dsmith@redhat.com>
* task.stp (task_open_file_handles): Fixed for kernels less than
version 2.6.15.
(task_max_file_handles): Ditto.
dsmith [Thu, 13 Sep 2007 17:24:54 +0000 (17:24 +0000)]
2007-09-13 David Smith <dsmith@redhat.com>
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.
dsmith [Thu, 13 Sep 2007 17:21:54 +0000 (17:21 +0000)]
2007-09-13 David Smith <dsmith@redhat.com>
* 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.
hunt [Thu, 13 Sep 2007 14:20:03 +0000 (14:20 +0000)]
2007-09-13 Martin Hunt <hunt@redhat.com>
* aux_syscalls.stp: Replace get_user calls with __stp_get_user.
hunt [Thu, 13 Sep 2007 13:21:37 +0000 (13:21 +0000)]
2007-09-13 Martin Hunt <hunt@redhat.com>
* systemtap.base/limits.exp: New. Test 32 and 64-bit integer
extremes.
fche [Thu, 13 Sep 2007 03:43:20 +0000 (03:43 +0000)]
mention print*
fche [Thu, 13 Sep 2007 03:41:01 +0000 (03:41 +0000)]
2007-09-12 Frank Ch. Eigler <fche@elastic.org>
* parse.cxx (parse_symbol): Accept println(@hist*()).
2007-09-12 Frank Ch. Eigler <fche@elastic.org>
* buildok/print_histograms.stp: Test println(@hist*()).
fche [Thu, 13 Sep 2007 02:18:35 +0000 (02:18 +0000)]
2007-09-12 Frank Ch. Eigler <fche@elastic.org>
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.
hunt [Wed, 12 Sep 2007 19:10:36 +0000 (19:10 +0000)]
2007-09-12 Martin Hunt <hunt@redhat.com>
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.
dsmith [Wed, 12 Sep 2007 19:03:23 +0000 (19:03 +0000)]
2007-09-12 David Smith <dsmith@redhat.com>
* translate.cxx (c_unparser::emit_common_header): Added 'data'
variable to context structure to support procfs probes.
* tapsets.cxx: Improved procfs probe handling.
hunt [Wed, 12 Sep 2007 18:37:47 +0000 (18:37 +0000)]
2007-09-12 Martin Hunt <hunt@redhat.com>
* 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.
hunt [Wed, 12 Sep 2007 18:21:55 +0000 (18:21 +0000)]
2007-09-12 Martin Hunt <hunt@redhat.com>
* 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.
hiramatu [Wed, 12 Sep 2007 16:48:00 +0000 (16:48 +0000)]
2007-09-12 Masami Hiramatsu <mhiramat@redhat.com>
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.
fche [Wed, 12 Sep 2007 14:50:10 +0000 (14:50 +0000)]
2007-09-12 Frank Ch. Eigler <fche@elastic.org>
PR 5023.
* buildok/ten.stp: Reactivate and extend.
jistone [Tue, 11 Sep 2007 18:46:13 +0000 (18:46 +0000)]
Add a reference to PR 5014.
jistone [Tue, 11 Sep 2007 16:22:18 +0000 (16:22 +0000)]
2007-09-11 Josh Stone <joshua.i.stone@intel.com>
* 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).
dsmith [Mon, 10 Sep 2007 20:47:23 +0000 (20:47 +0000)]
2007-09-10 David Smith <dsmith@redhat.com>
* tapsets.cxx (procfs_derived_probe_group::emit_module_init):
Improved procfs probe handling (still non-working).
(procfs_builder::build): Ditto.
(register_standard_tapsets): Ditto.
(all_session_groups): Ditto.
hunt [Mon, 10 Sep 2007 16:20:55 +0000 (16:20 +0000)]
2007-09-10 Martin Hunt <hunt@redhat.com>
* tapsets.cxx, session.h, elaborate.cxx: Start of procfs
interaction support. PR 1154.
hunt [Mon, 10 Sep 2007 16:18:42 +0000 (16:18 +0000)]
2007-09-10 Martin Hunt <hunt@redhat.com>
* procfs.c: New file. Common runtime procfs functions.
hunt [Mon, 10 Sep 2007 16:17:00 +0000 (16:17 +0000)]
2007-09-10 Martin Hunt <hunt@redhat.com>
* procfs.c (_stp_register_ctl_channel): Call
_stp_mkdir_proc_module().
(_stp_unregister_ctl_channel): Call _stp_rmdir_proc_module().
* transport.c: Include ../procfs.c runtime procfs functions.
wenji [Mon, 10 Sep 2007 07:54:10 +0000 (07:54 +0000)]
2007-09-10 Wenji Huang <wenji.huang@oracle.com>
* systemtap.stress/current.stp: Make module probe optional.
* buildok/four.stp: Ditto.
* buildok/twentyfive.stp: Ditto.
* semok/twelve.stp: Ditto.
fche [Thu, 6 Sep 2007 19:49:16 +0000 (19:49 +0000)]
* link to wiki status page
hiramatu [Thu, 6 Sep 2007 18:08:44 +0000 (18:08 +0000)]
2007-09-06 Masami Hiramatsu <mhiramat@redhat.com>
PR4542
* tapsets.cxx (dwarf_query::build_blacklist): add __switch_to to
blacklisted_return_probes on i686
* systemtap.stress/current.stp: Don't probe the return of __switch_to
on i686
zhaolei [Thu, 6 Sep 2007 01:28:41 +0000 (01:28 +0000)]
2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
* aux_syscalls.stp (_stp_sockaddr_str): Fix memory access error
when calling with addrlen set to 0.
zhaolei [Thu, 6 Sep 2007 00:15:23 +0000 (00:15 +0000)]
2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
* aux_syscalls.stp (_module_flags_str): Modify combination of
flags' values.
fche [Wed, 5 Sep 2007 18:09:08 +0000 (18:09 +0000)]
2007-09-05 Frank Ch. Eigler <fche@elastic.org>
* pf2.stp: Exploit sortable aggregates.
srikar [Tue, 4 Sep 2007 10:36:59 +0000 (10:36 +0000)]
Added open_file_handles tapset function and man page for task tapsets.
zhaolei [Tue, 4 Sep 2007 06:16:14 +0000 (06:16 +0000)]
2007-09-04 Zhaolei <zhaolei@cn.fujitsu.com>
From Lai Jiangshan <laijs@cn.fujitsu.com>
* syscalls2.stp (quotactl): Init special_str before use.
(rt_sigqueueinfo): Change pid's type from %p to %d in argstr.
hunt [Fri, 31 Aug 2007 14:28:31 +0000 (14:28 +0000)]
2007-08-31 Martin Hunt <hunt@redhat.com>
* mainloop.c (start_cmd): Set the priority to
forked processes back to normal.
(system_cmd): Ditto.
This page took 0.063129 seconds and 5 git commands to generate.