| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* timer.c (main): Remove the return value checks.
|
|
|
|
|
| |
* systemtap.samples/system_func.stp: PR4466
Add some additional checks to eliminates any races in output.
|
|
|
|
|
| |
PR 4930
* buildok/examples.stp: New test case.
|
|
|
|
|
| |
* iostat-scsi.stp: Make module probe optional,clarify reference to flags.
* small_demos/sched_snoop.stp(scheduler.migrage,scheduler.balance): Make optional.
|
| |
|
|
|
|
|
| |
* procfs.c (_stp_create_procfs): Be sure that directories in the path
are really directories and not files.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* task.stp (task_open_file_handles): Fixed for kernels less than
version 2.6.15.
(task_max_file_handles): Ditto.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* aux_syscalls.stp: Replace get_user calls with __stp_get_user.
|
|
|
|
|
| |
* systemtap.base/limits.exp: New. Test 32 and 64-bit integer
extremes.
|
| |
|
|
|
|
|
|
|
|
| |
* parse.cxx (parse_symbol): Accept println(@hist*()).
2007-09-12 Frank Ch. Eigler <fche@elastic.org>
* buildok/print_histograms.stp: Test println(@hist*()).
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* translate.cxx (c_unparser::emit_common_header): Added 'data'
variable to context structure to support procfs probes.
* tapsets.cxx: Improved procfs probe handling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR 5023.
* buildok/ten.stp: Reactivate and extend.
|
| |
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* tapsets.cxx, session.h, elaborate.cxx: Start of procfs
interaction support. PR 1154.
|
|
|
|
| |
* procfs.c: New file. Common runtime procfs functions.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* systemtap.stress/current.stp: Make module probe optional.
* buildok/four.stp: Ditto.
* buildok/twentyfive.stp: Ditto.
* semok/twelve.stp: Ditto.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
* aux_syscalls.stp (_stp_sockaddr_str): Fix memory access error
when calling with addrlen set to 0.
|
|
|
|
|
| |
* aux_syscalls.stp (_module_flags_str): Modify combination of
flags' values.
|
|
|
|
| |
* pf2.stp: Exploit sortable aggregates.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* mainloop.c (start_cmd): Set the priority to
forked processes back to normal.
(system_cmd): Ditto.
|
|
|
|
|
| |
* mainloop.c (start_cmd): Set the priority to
forked processes back to normal.
|
|
|
|
|
|
| |
From Lai Jiangshan <laijs@cn.fujitsu.com>
* aux_syscalls.stp (_mknod_mode_str): Fix file type
judgement error.
|
| |
|
|
|
|
|
|
|
|
| |
PR 4983
* translate.cxx (c_tmpcounter::visit_print_format): Don't declare
temporaries for number and string constants.
(c_unparser::visit_print_format): Use numeric and string constants
directly instead of copying them into temporaries.
|
|
|
|
|
|
|
|
|
|
|
| |
* nfs.stp (__iov_length): Update.
(nfs.fop.aio_read, nfs.fop.aio_write): Update calling __iov_length.
* vfs.stp (generic.fop.aio_read, generic.fop.aio_write): Modify evaluating count,buf.
(generic.fop.readv*, generic.fop.writev*, generic.fop.splice_read*,
generic.fop.splice_write*, generic.fop.read*, generic.fop.write*): Make optional.
(vfs.__set_page_dirty_buffers.return): Add condition.
(vfs.remove_from_page_cache.return): Fix typo.
(vfs.block_sync_page.return): Remove size and units.
|
|
|
|
| |
* syscalls2.stp (syslog): Make $buf output as address in argstr.
|
|
|
|
|
| |
* syscalls2.stp (sysfs): Make numbers of args in
argstr always same.
|
|
|
|
|
| |
* syscalls2.stp (sysfs): Set argstr's format different
by value of option arg.
|
|
|
|
| |
* tcp.stp (sockstate): Fix typo.
|
|
|
|
|
|
| |
* syscalls.stp (bdflush): Add comma between args in argstr
Set second parameter(data)'s type by first parameter(func)'s
value in argstr.
|
|
|
|
|
|
| |
* syscalls.stp (bdflush): Add comma between args in argstr.
Set second parameter(data)'s type by first parameter(func)'s
value in argstr.
|