]> sourceware.org Git - systemtap.git/log
systemtap.git
17 years ago2007-07-10 Martin Hunt <hunt@redhat.com>
hunt [Tue, 10 Jul 2007 15:50:57 +0000 (15:50 +0000)]
2007-07-10  Martin Hunt  <hunt@redhat.com>

* systemtap.context/pid.tcl: Don't try to get real ppid,
just match pattern.

17 years ago2007-07-09 David Smith <dsmith@redhat.com>
dsmith [Mon, 9 Jul 2007 22:40:56 +0000 (22:40 +0000)]
2007-07-09  David Smith  <dsmith@redhat.com>

* relay.c (init_relayfs): Fixed a buffer size bug introduced by
the last change.

17 years ago2007-07-09 David Smith <dsmith@redhat.com>
dsmith [Mon, 9 Jul 2007 18:20:35 +0000 (18:20 +0000)]
2007-07-09  David Smith  <dsmith@redhat.com>

* relay.c (init_relayfs): Make sure buffers are big enough to hold
a full path.
* relay_old.c (init_oldrelayfs): Ditto.

17 years ago2007-07-09 Martin Hunt <hunt@redhat.com>
hunt [Mon, 9 Jul 2007 16:32:08 +0000 (16:32 +0000)]
2007-07-09  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp (compat_sys_utimes): New.
* ppc64/syscalls.stp (ciompat_sys_utimes): Removed.

17 years ago2007-07-09 Martin Hunt <hunt@redhat.com>
hunt [Mon, 9 Jul 2007 16:21:45 +0000 (16:21 +0000)]
2007-07-09  Martin Hunt  <hunt@redhat.com>

* systemtap.context/systemtap_test_module1.c (stm_write_cmd):
Set pointer type to "char *" so get_user() fetches a char.

17 years ago2007-07-09 David Smith <dsmith@redhat.com>
dsmith [Mon, 9 Jul 2007 15:04:57 +0000 (15:04 +0000)]
2007-07-09  David Smith  <dsmith@redhat.com>

* ctl.c (read_buffer_info): Make sure buffer is big enough to hold
a full path.
(init_ctl_channel): Ditto.

17 years ago2007-07-09 Martin Hunt <hunt@redhat.com>
hunt [Mon, 9 Jul 2007 14:55:33 +0000 (14:55 +0000)]
2007-07-09  Martin Hunt  <hunt@redhat.com>

* syscalls.stp (compat_sys_futimesat): Fix arg.

17 years ago2007-07-09 Martin Hunt <hunt@redhat.com>
hunt [Mon, 9 Jul 2007 14:50:04 +0000 (14:50 +0000)]
2007-07-09  Martin Hunt  <hunt@redhat.com>

* sym.h (STP_MAX_MODULES): Raise limit to 256.

17 years ago2007-07-09 Martin Hunt <hunt@redhat.com>
hunt [Mon, 9 Jul 2007 14:49:15 +0000 (14:49 +0000)]
2007-07-09  Martin Hunt  <hunt@redhat.com>

* symbols.c (_stp_ins_module): Check for overflow of
modules array.
(_stp_do_module): If _stp_ins_module() fails, return an error.

17 years ago PR 4529
wcohen [Sun, 8 Jul 2007 20:09:14 +0000 (20:09 +0000)]
PR 4529
* coveragedb.cxx (update_coverage_db): Make index "unique" to optimize.

17 years ago2007-07-08 William Cohen <wcohen@redhat.com>
wcohen [Sat, 7 Jul 2007 21:46:31 +0000 (21:46 +0000)]
2007-07-08  William Cohen  <wcohen@redhat.com>

PR 4529
* coveragedb.h (db_type): New enum for type column in coverage_element.
(coverage_element): Remove removed column, change type to int.
* coveragedb.cxx (has_table, has_index): New.
(update_coverage_db): Use has_table, has_index.
(enter_element): Change for new table format.
(increment_element): Ditto.
(sql_update_used_probes): Ditto.
(sql_update_unused_probes): Ditto.
(sql_update_used_functions): Ditto.
(sql_update_unused_functions): Ditto.
(sql_update_used_globals): Ditto.
(sql_update_unused_globals): Ditto.
(update_coverage_db): Ditto.
(print_coverage_info(systemtap_session): Relocate vector.
(sql_update_used_probes): Ditto.
(sql_update_unused_probes): Ditto.

17 years ago2007-07-06 Martin Hunt <hunt@redhat.com>
hunt [Fri, 6 Jul 2007 19:03:12 +0000 (19:03 +0000)]
2007-07-06  Martin Hunt  <hunt@redhat.com>

* systemtap.maps/linear*: New tests of linear histograms.

17 years ago2007-07-06 Martin Hunt <hunt@redhat.com>
hunt [Fri, 6 Jul 2007 18:42:00 +0000 (18:42 +0000)]
2007-07-06  Martin Hunt  <hunt@redhat.com>

* stat-common.c (__stp_stat_add): Fix calculations
for linear histogram buckets.

* stat.c (_stp_stat_init): Check for interval too
small.

17 years ago2007-07-05 Eugene Teo <eteo@redhat.com>
eteo [Wed, 4 Jul 2007 17:05:00 +0000 (17:05 +0000)]
2007-07-05  Eugene Teo  <eteo@redhat.com>

* regs.c (_stp_print_regs): #ifdef CONFIG_CPU_CP15 instead.

17 years ago2007-07-03 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 3 Jul 2007 22:39:12 +0000 (22:39 +0000)]
2007-07-03  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac: Bumped version to 0.5.15 for development.
* configure: Regenerated.

17 years ago2007-07-03 Martin Hunt <hunt@redhat.com>
hunt [Tue, 3 Jul 2007 21:44:27 +0000 (21:44 +0000)]
2007-07-03  Martin Hunt  <hunt@redhat.com>

* futimes.c: New test.

17 years ago2007-07-03 Martin Hunt <hunt@redhat.com>
hunt [Tue, 3 Jul 2007 21:43:20 +0000 (21:43 +0000)]
2007-07-03  Martin Hunt  <hunt@redhat.com>

* syscalls.stp: Add sys_futimesat, compat_sys_futimesat.
* syscalls2.stp (utimes): Use _struct_timeval2_u.
* aux_syscalls.stp (_struct_timeval2_u): New function.
(_struct_compat_timeval2_u): New function.

17 years ago*** empty log message ***
hunt [Tue, 3 Jul 2007 21:38:59 +0000 (21:38 +0000)]
*** empty log message ***

17 years ago2007-07-03 Martin Hunt <hunt@redhat.com>
hunt [Tue, 3 Jul 2007 21:38:40 +0000 (21:38 +0000)]
2007-07-03  Martin Hunt  <hunt@redhat.com>

* systemtap.context/pid.tcl: Better error reporting.
* systemtap.context/args.*: Ditto.
* systemtap.context/context.exp: Build in temp dir.

17 years ago* rhel5.1 build prep
fche [Tue, 3 Jul 2007 21:21:25 +0000 (21:21 +0000)]
* rhel5.1 build prep

17 years ago.
roland [Tue, 3 Jul 2007 19:49:39 +0000 (19:49 +0000)]
.

17 years ago2007-07-03 Roland McGrath <roland@frob.com>
roland [Tue, 3 Jul 2007 19:49:36 +0000 (19:49 +0000)]
2007-07-03  Roland McGrath  <roland@frob.com>

* Makefile.am (install-exec-local, install-elfutils): Use $(DESTDIR).
(SRCDIR): Variable removed.
(check): Use sh code in commands instead.
* Makefile.in: Regenerated.

17 years ago* fill out changelog for 0.5.13->14 developments release-0.5.14
fche [Tue, 3 Jul 2007 15:42:28 +0000 (15:42 +0000)]
* fill out changelog for 0.5.13->14 developments

17 years ago PR 4717
wcohen [Mon, 2 Jul 2007 20:33:11 +0000 (20:33 +0000)]
PR 4717
From Eugeniy Meshcheryakov <eugen@debian.org>
* staptree.cxx: Add #include <cstdlib> for gcc 4.3.

17 years ago2007-07-02 Frank Ch. Eigler <fche@rechat.com>
fche [Mon, 2 Jul 2007 19:40:50 +0000 (19:40 +0000)]
2007-07-02  Frank Ch. Eigler  <fche@rechat.com>

* staplog.c: New file from Satoru MORIYA
<satoru.moriya.br@hitachi.com>, prototype crash(8) extension module.
* configure.ac: Look for crash/defs.h.
* Makefile.am: Build/install staplog.so shared library if found.
* configure, Makefile, config.in, runtime/lket/b2a/Makefile.in:
Regenerated.

17 years ago PR 4720
wcohen [Mon, 2 Jul 2007 19:35:42 +0000 (19:35 +0000)]
PR 4720
* staptree.cxx (probe_point::print): Remove stray output.

17 years ago*** empty log message ***
hunt [Mon, 2 Jul 2007 18:28:28 +0000 (18:28 +0000)]
*** empty log message ***

17 years ago2007-07-02 Martin Hunt <hunt@redhat.com>
hunt [Mon, 2 Jul 2007 18:28:19 +0000 (18:28 +0000)]
2007-07-02  Martin Hunt  <hunt@redhat.com>

* systemtap.context/context.exp: Add pid tests.
* systemtap.context/pid.*: New tests.

17 years ago*** empty log message ***
hunt [Mon, 2 Jul 2007 08:46:03 +0000 (08:46 +0000)]
*** empty log message ***

17 years ago2007-07-02 Martin Hunt <hunt@redhat.com>
hunt [Mon, 2 Jul 2007 07:41:05 +0000 (07:41 +0000)]
2007-07-02  Martin Hunt  <hunt@redhat.com>

* context.stp (print_backtrace): If no regs, just
print the probe point.

17 years ago2007-07-02 Martin Hunt <hunt@redhat.com>
hunt [Mon, 2 Jul 2007 07:22:21 +0000 (07:22 +0000)]
2007-07-02  Martin Hunt  <hunt@redhat.com>

* systemtap.context/*: New context tests.

17 years ago2007-07-02 Martin Hunt <hunt@redhat.com>
hunt [Mon, 2 Jul 2007 07:17:10 +0000 (07:17 +0000)]
2007-07-02  Martin Hunt  <hunt@redhat.com>

* symbols.c (get_sections): Set data pointer to the lowest address
of any data section.

17 years ago2007-07-02 Martin Hunt <hunt@redhat.com>
hunt [Mon, 2 Jul 2007 07:14:36 +0000 (07:14 +0000)]
2007-07-02  Martin Hunt  <hunt@redhat.com>

* sym.c (_stp_kallsyms_lookup): Improve heuristic
for determining when a pointer is in a function.
(_stp_func_print): New function.
* stack-i386.c, stack-x86_64.c: Remove obsolete
unwind code. Use _stp_func_print().

17 years ago2007-07-02 Martin Hunt <hunt@redhat.com>
hunt [Mon, 2 Jul 2007 07:05:10 +0000 (07:05 +0000)]
2007-07-02  Martin Hunt  <hunt@redhat.com>

* symbols.c (_stp_do_symbols): Set "data" pointer for kernel to _etext.
(_stp_sort): New. sort function from the kernel.
(_stp_load_module_symbols): Use _stp_sort().

17 years ago PR 4529
wcohen [Fri, 29 Jun 2007 20:23:34 +0000 (20:23 +0000)]
    PR 4529
        * configure.ac:
        * Makefile.am: Limit where sqlite3 linked in.
        * configure:
        * Makefile.in: Regenerate.

17 years ago PR 4529
wcohen [Fri, 29 Jun 2007 18:13:49 +0000 (18:13 +0000)]
    PR 4529
        * configure.ac:
        * Makefile.am: Limit where sqlite3 linked in.
        * configure:
        * Makefile.in: Regenerate.

        * coveragedb.cxx (update_coverage_db): Remove unneeded print.
        * coveragedb.cxx (increment_element): Correct formatting.

17 years agoFiles have been added & renamed, regenerating cscope.files.
jistone [Thu, 28 Jun 2007 20:56:31 +0000 (20:56 +0000)]
Files have been added & renamed, regenerating cscope.files.

17 years agoRemove stray "\n" from probe_point::print.
wcohen [Tue, 26 Jun 2007 20:55:27 +0000 (20:55 +0000)]
Remove stray "\n" from probe_point::print.

17 years agoChangeLog entry
wcohen [Tue, 26 Jun 2007 19:37:02 +0000 (19:37 +0000)]
ChangeLog entry

17 years ago2007-06-26 William Cohen <wcohen@redhat.com>
wcohen [Tue, 26 Jun 2007 19:36:25 +0000 (19:36 +0000)]
2007-06-26  William Cohen  <wcohen@redhat.com>

PR 4529
* coveragedb.cxx: New.
* coveragedb.h: New.
* Makefile.am: Add coveragedb.cxx and sqlite3 to build.
* Makefile.in: Regenerated.
* configure.ac: Add test for sqlite3
* configure: Regenerated.
* systemtap.spec.in: Add dependencies for sqlite3/sqlite3-devel.
* elaborate.h, elaborate.cxx
  (derived_probe::collect_derivation_chain): New.
  (alias_expansion_builder::build): Correct token location.
  (semantic_pass_opt[12): Track used and unused variables/functions.
* session.h (tapset_compile_coverage, unused_globals,
  unused_probes, unused_functions): New fields.
* staptree.h (unused_locals, probe_point::str): New member.
* staptree.cxx: Ditto.
* main.cxx: Add "-q" tapset coverage option and SYSTEMTAP_COVERAGE env.

17 years ago2007-06-25 Martin Hunt <hunt@redhat.com>
hunt [Mon, 25 Jun 2007 17:38:33 +0000 (17:38 +0000)]
2007-06-25  Martin Hunt  <hunt@redhat.com>

* systemtap.maps/pmap_agg_overflow.exp: Rewrite
so order of error messages is not important.

17 years ago2007-06-22 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 22 Jun 2007 21:29:44 +0000 (21:29 +0000)]
2007-06-22  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.syscall/readwrite.c: Tweak for new default string truncation width.

17 years ago2007-06-22 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 22 Jun 2007 19:39:29 +0000 (19:39 +0000)]
2007-06-22  Frank Ch. Eigler  <fche@elastic.org>

* string.c (_stp_text_str): Fix handling of embedded
" and \ characters.

17 years ago2007-06-22 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 22 Jun 2007 15:26:10 +0000 (15:26 +0000)]
2007-06-22  Frank Ch. Eigler  <fche@elastic.org>

* syscalls_cfg_trunc.stp: New file for configuration global.
* syscalls.stp (add_key, mount), syscalls2.stp (write):
Use parameter.

17 years ago2007-06-21 David Smith <dsmith@redhat.com>
dsmith [Thu, 21 Jun 2007 20:14:34 +0000 (20:14 +0000)]
2007-06-21  David Smith  <dsmith@redhat.com>

* lket/b2a/Makefile.in: Regenerated with automake 1.10.

17 years ago2007-06-21 David Smith <dsmith@redhat.com>
dsmith [Thu, 21 Jun 2007 20:13:18 +0000 (20:13 +0000)]
2007-06-21  David Smith  <dsmith@redhat.com>

* Makefile.in: Regenerated with automake 1.10.
* aclocal.m4: Regenerated with aclocal 1.10.
* configure: Regenerated.

17 years ago*** empty log message ***
hunt [Thu, 21 Jun 2007 04:29:40 +0000 (04:29 +0000)]
*** empty log message ***

17 years ago2007-06-21 Martin Hunt <hunt@redhat.com>
hunt [Thu, 21 Jun 2007 04:12:06 +0000 (04:12 +0000)]
2007-06-21  Martin Hunt  <hunt@redhat.com>

* chmod.c, dir.c, mmap.c, net1.c, readwrite.c, stat.c,
sync.c, trunc.c: Eliminated hardcoded fd numbers.

17 years ago2007-06-21 Martin Hunt <hunt@redhat.com>
hunt [Thu, 21 Jun 2007 04:10:03 +0000 (04:10 +0000)]
2007-06-21  Martin Hunt  <hunt@redhat.com>

* control.c (_stp_ctl_write_cmd): Add support for STP_BULK.
* transport_msgs.h (enum): Add STP_BULK.

17 years ago2007-06-21 Martin Hunt <hunt@redhat.com>
hunt [Thu, 21 Jun 2007 04:09:45 +0000 (04:09 +0000)]
2007-06-21  Martin Hunt  <hunt@redhat.com>

* relay.c (init_relayfs): Send message to check for bulkmode.

17 years ago*** empty log message ***
hunt [Wed, 20 Jun 2007 21:42:48 +0000 (21:42 +0000)]
*** empty log message ***

17 years ago2007-06-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Jun 2007 21:42:39 +0000 (21:42 +0000)]
2007-06-20  Martin Hunt  <hunt@redhat.com>

* systemtap.string/dot.exp: New test.
* systemtap.string/sprint.exp: New test.

17 years ago2007-06-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Jun 2007 21:40:29 +0000 (21:40 +0000)]
2007-06-20  Martin Hunt  <hunt@redhat.com>

* systemtap.samples/transport*: Removed.

17 years ago2007-06-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Jun 2007 21:37:26 +0000 (21:37 +0000)]
2007-06-20  Martin Hunt  <hunt@redhat.com>

* systemtap.printf/*b.exp: Add code to look in the
toplevel directory for stap_merge.

17 years ago2007-06-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Jun 2007 21:35:03 +0000 (21:35 +0000)]
2007-06-20  Martin Hunt  <hunt@redhat.com>

* Makefile.am (noinst_PROGRAMS): Add stap_merge.
* Makefile.in: Rebuilt:
* config.in: Rebuilt

17 years ago2007-06-20 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 20 Jun 2007 19:54:43 +0000 (19:54 +0000)]
2007-06-20  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac: Added AM_PROG_CC_C_O for compatibility with
automake 1.10.
* configure, aclocal.m4: Regenerated.

17 years ago2007-06-20 David Smith <dsmith@redhat.com>
dsmith [Wed, 20 Jun 2007 18:00:39 +0000 (18:00 +0000)]
2007-06-20  David Smith  <dsmith@redhat.com>

* buildrun.cxx (compile_pass): Unset environment variables that
could interfere with building the kernel module.  Fixes PR 4664.
* main.cxx (main): Unsets a few standard environment variables for
safety.

17 years ago2007-06-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Jun 2007 16:21:56 +0000 (16:21 +0000)]
2007-06-20  Martin Hunt  <hunt@redhat.com>

* stap_merge.c (main): Add verbose option. Will realloc
buffer if current size is too small. Check return codes
from writes so gcc won't complain.

17 years agoFix mode in procfs cmd file.
hunt [Mon, 18 Jun 2007 21:01:11 +0000 (21:01 +0000)]
Fix mode in procfs cmd file.

17 years ago2007-06-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 18 Jun 2007 20:34:19 +0000 (20:34 +0000)]
2007-06-18  Martin Hunt  <hunt@redhat.com>

* control.c (_stp_register_ctl_channel): Fix mode of cmd file.

17 years ago2007-06-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 18 Jun 2007 19:29:56 +0000 (19:29 +0000)]
2007-06-18  Martin Hunt  <hunt@redhat.com>

* syscall.exp (test_procedure): Use switch statements to clean
up the logic for setting flags for 64 and 32-bit passes.

17 years ago*** empty log message ***
hunt [Mon, 18 Jun 2007 17:34:01 +0000 (17:34 +0000)]
*** empty log message ***

17 years ago2007-06-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 18 Jun 2007 16:33:03 +0000 (16:33 +0000)]
2007-06-18  Martin Hunt  <hunt@redhat.com>
 From Quentin Barnes.
* lib/stap_run.exp, lib/stap_run2.exp, lib/systemtap.exp,
systemtap.base/cache.exp, systemtap.base/optim.exp,
systemtap.base/overload.exp, systemtap.base/prologues.exp,
systemtap.maps/absentstats.exp, systemtap.maps/foreach_fail.exp,
systemtap.maps/ix_clear*.exp, systemtap.maps/pmap_agg_overflow.exp,
systemtap.samples/args.exp, systemtap.samples/arith.exp,
systemtap.samples/arith_limits.exp,
systemtap.samples/control_limits.exp, systemtap.samples/lket.exp,
systemtap.samples/pfaults.exp, systemtap.samples/poll_map.exp,
systemtap.samples/primes.exp, systemtap.samples/profile.exp,
systemtap.samples/queue_demo.exp, systemtap.samples/symbols.exp,
systemtap.samples/syscalls1.exp, systemtap.samples/syscalls2.exp,
systemtap.samples/transport.exp: Small fixes to patterns, plus
fix timeouts for slower systems.

17 years ago2007-06-18 David Smith <dsmith@redhat.com>
dsmith [Mon, 18 Jun 2007 15:37:33 +0000 (15:37 +0000)]
2007-06-18  David Smith  <dsmith@redhat.com>

* staprun.8.in: Fixed a couple of typos.

17 years ago2007-06-15 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 15 Jun 2007 20:12:46 +0000 (20:12 +0000)]
2007-06-15  Frank Ch. Eigler  <fche@elastic.org>

PR 3331 cont'd.
* loc2c.c (base_encoding): Tolerate absenece of DW_AT_encoding.
(c_translate_pointer): Don't even try to find signedness, assume
unsigned.

17 years ago2007-06-15 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 15 Jun 2007 18:32:50 +0000 (18:32 +0000)]
2007-06-15  Frank Ch. Eigler  <fche@elastic.org>

* lib/systemtap.exp (stap_run_batch): Detect crashing stap and
represent this as failing return code.

17 years ago*** empty log message ***
hunt [Fri, 15 Jun 2007 15:55:10 +0000 (15:55 +0000)]
*** empty log message ***

17 years ago2007-06-15 Martin Hunt <hunt@redhat.com>
hunt [Fri, 15 Jun 2007 15:54:49 +0000 (15:54 +0000)]
2007-06-15  Martin Hunt  <hunt@redhat.com>

* syscalls.stp: Add sys_fcntl64, sys_oabi_fstat64,
  sys_oabi_lstat64.
* syscalls2.stp: Fix sys_send. Add sys_sendfile64.
* errno.stp: Add arm support.

17 years ago2007-06-15 Martin Hunt <hunt@redhat.com>
hunt [Fri, 15 Jun 2007 15:19:30 +0000 (15:19 +0000)]
2007-06-15  Martin Hunt  <hunt@redhat.com>
From Quentin Barnes.
* loc2c-runtime.h: Latest arm marcos.
* stack-arm.c (__stp_stack_print): Add a cast.
* regs.c (_stp_ret_addr): Define for arm.

17 years agoRemoved extra assignment to "size" in socket.aio_write.return
mmason [Fri, 15 Jun 2007 03:46:55 +0000 (03:46 +0000)]
Removed extra assignment to "size" in socket.aio_write.return

17 years ago2007-06-14 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 14 Jun 2007 21:38:24 +0000 (21:38 +0000)]
2007-06-14  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (emit_module_init): Emit translator/elfutils
version numbers together.
* main.cxx (version): Ditto.
(main): Skip printing tapset directories where no sources were found.

17 years ago2007-06-14 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 14 Jun 2007 16:22:24 +0000 (16:22 +0000)]
2007-06-14  Frank Ch. Eigler  <fche@elastic.org>

PR 3331 cont'd.
* loc2c.c (emit_base_fetch): Emit size/signedness cast
slightly differently for every low-level fetch.
(translate_base_fetch, c_translate_fetch, c_translate_store,
c_translate_pointer): Fetch & pass the $target signedness.
(base_encoding): Follow typedefs etc.

17 years ago2007-06-14 Martin Hunt <hunt@redhat.com>
hunt [Thu, 14 Jun 2007 15:32:14 +0000 (15:32 +0000)]
2007-06-14  Martin Hunt  <hunt@redhat.com>

* systemtap.samples/syscalls.stp: Use printf
for output to avoid problems with long paths.

 From Quentin Barnes.
* systemtap.samples/system_func.exp: Change expect matching.

17 years ago2007-06-14 David Smith <dsmith@redhat.com>
dsmith [Thu, 14 Jun 2007 14:48:56 +0000 (14:48 +0000)]
2007-06-14  David Smith  <dsmith@redhat.com>

* systemtap.samples/profile.stp: Change output to avoid problems
when kernel source path is long.

17 years agoFix minor issue with change for bz4075. The initial fix caused a lot of
ananth [Mon, 11 Jun 2007 11:32:53 +0000 (11:32 +0000)]
Fix minor issue with change for bz4075. The initial fix caused a lot of
test failures on powerpc.

Thanks to Srinivasa for tracking the problem down.

17 years ago2007-06-09 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 9 Jun 2007 22:50:13 +0000 (22:50 +0000)]
2007-06-09  Frank Ch. Eigler  <fche@elastic.org>

PR 4609
From Eugeniy Meshcheryakov <eugen@debian.org>
* staptree.cxx: Add #include <algorithm> for gcc 4.3.

17 years ago2007-06-08 David Smith <dsmith@redhat.com>
dsmith [Fri, 8 Jun 2007 18:09:40 +0000 (18:09 +0000)]
2007-06-08  David Smith  <dsmith@redhat.com>

PR 4553.
* configure.ac: For x86 systems with gcc versions less than 4,
automatically default to enabling prologue searching.
* configure: Regenerated.

17 years ago2007-06-07 Martin Hunt <hunt@redhat.com>
hunt [Thu, 7 Jun 2007 17:50:25 +0000 (17:50 +0000)]
2007-06-07  Martin Hunt  <hunt@redhat.com>

* relay_old.c (open_relayfs_files): Add support for
output file names (-o) with bulk (relayfs) mode.

17 years ago2007-06-07 Martin Hunt <hunt@redhat.com>
hunt [Thu, 7 Jun 2007 16:24:39 +0000 (16:24 +0000)]
2007-06-07  Martin Hunt  <hunt@redhat.com>
        PR 4075 fix from Ananth Mavinakayanahalli
        * string.h (_stp_get_user): Define.
        * string.c (_stp_text_str): Use _stp_get_user().

17 years ago2007-06-07 Martin Hunt <hunt@redhat.com>
hunt [Thu, 7 Jun 2007 15:11:04 +0000 (15:11 +0000)]
2007-06-07  Martin Hunt  <hunt@redhat.com>
Fallout from PR 3331 fix. Sometimes glibc and the
kernel disagree about signed vs unsigned.
* aux_syscalls.stp: Rename __uid() to __int32().
* syscalls.stp: Change syscall.chown, syscall.fchown,
syscall.lchown, and syscall.lseek to use __int32().
* syscalls2.stp: Change syscall.setregid, syscall.resgid,
syscall.resuid, and syscall.setreuid to use __int32().

17 years agoRemoved workaround for negative 32-bit return values on 64-bit systems.
mmason [Wed, 6 Jun 2007 03:49:53 +0000 (03:49 +0000)]
Removed workaround for negative 32-bit return values on 64-bit systems.

17 years ago2007-06-05 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 6 Jun 2007 00:40:13 +0000 (00:40 +0000)]
2007-06-05  Frank Ch. Eigler  <fche@redhat.com>

PR 3331.
* loc2c.c (emit_base_fetch): Emit size/signedness cast
for every low-level fetch.
(translate_base_fetch, c_translate_fetch, c_translate_store,
c_translate_pointer): Fetch & pass the $target signedness.

2007-06-05  Frank Ch. Eigler  <fche@elastic.org>

PR 3331.
* systemtap.base/deref2.*: New test, disabled.

17 years agoScript to track when a specific PID receives a specific signal.
mmason [Tue, 5 Jun 2007 17:30:18 +0000 (17:30 +0000)]
Script to track when a specific PID receives a specific signal.

17 years ago2007-06-04 Martin Hunt <hunt@redhat.com>
hunt [Mon, 4 Jun 2007 16:55:23 +0000 (16:55 +0000)]
2007-06-04  Martin Hunt  <hunt@redhat.com>

* mainloop.c (cleanup_and_exit): Disable signals
while exiting.
(fatal_handler): Use return values from write() to
avoid warnings.

17 years ago2007-06-04 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 4 Jun 2007 16:21:50 +0000 (16:21 +0000)]
2007-06-04  Frank Ch. Eigler  <fche@elastic.org>

PR 4589.
* systemtap.base/optim.*: Rewritten, simplified.

17 years ago2007-05-31 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 31 May 2007 21:50:51 +0000 (21:50 +0000)]
2007-05-31  Frank Ch. Eigler  <fche@elastic.org>

PR 3579
From Eugeniy Meshcheryakov <eugen@debian.org>
* cache.cxx, parse.cxx: Add #include <cstring> for gcc 4.3.

17 years agoUpdated to reflect new script names.
mmason [Thu, 31 May 2007 05:29:40 +0000 (05:29 +0000)]
Updated to reflect new script names.

17 years agoMore renames
mmason [Thu, 31 May 2007 05:24:10 +0000 (05:24 +0000)]
More renames

17 years agoRenamed sig_count_by_pid.stp to sig_by_pid.stp
mmason [Thu, 31 May 2007 05:18:14 +0000 (05:18 +0000)]
Renamed sig_count_by_pid.stp to sig_by_pid.stp

17 years ago2007-05-30 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 30 May 2007 14:56:21 +0000 (14:56 +0000)]
2007-05-30  Frank Ch. Eigler  <fche@redhat.com>

PR 4567.
* staptree.cxx (varuse_collecting_visitor): Add side-effect
result query functions.
* elaborate.cxx (dead_stmtexpr_remover::visit_expr_statement):
Switch to it.
(dead_assignment_remover::visit_assignment): Skip elision of
lvalues with side-effects in index exprs.
* staptree.h: Corresponding changes.

2007-05-30  Frank Ch. Eigler  <fche@redhat.com>

PR 4567.
* systemtap.base/optim.stp, optim.exp: New test.

17 years ago2007-05-30 Martin Hunt <hunt@redhat.com>
hunt [Wed, 30 May 2007 14:33:55 +0000 (14:33 +0000)]
2007-05-30  Martin Hunt  <hunt@redhat.com>

Patch from Quentin Barnes.
* arith.c: Add arm support for 64-bit division.
* copy.c: Enable arm support.
* loc2c-runtime.h: Ditto.
* regs.[ch]: Ditto.
* stack.c: Include stack-arm.c.
* stack-arm.c: New file.
* time.c (_stp_gettimeofday_ns):  hack
for arm. See PR 4569.

17 years agoChanged top.stp to use the system calls tapset.
mmason [Tue, 29 May 2007 22:08:48 +0000 (22:08 +0000)]
Changed top.stp to use the system calls tapset.

17 years ago2007-05-29 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 29 May 2007 22:07:59 +0000 (22:07 +0000)]
2007-05-29  Frank Ch. Eigler  <fche@elastic.org>

PR 4458
* print_new.c (_stp_print_flush): Use interrupt-disabling
spinlock variants.

17 years agoScripts to print signal activity based on process ID and/or name.
mmason [Tue, 29 May 2007 21:58:02 +0000 (21:58 +0000)]
Scripts to print signal activity based on process ID and/or name.

17 years ago PR4540
wcohen [Tue, 29 May 2007 20:50:20 +0000 (20:50 +0000)]
PR4540
* systemtap.stress/conversions.exp: Adjust for ia64 address space.

17 years ago2007-05-29 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 29 May 2007 19:24:36 +0000 (19:24 +0000)]
2007-05-29  Frank Ch. Eigler  <fche@redhat.com>

PR 2224
* map.h (NEED_MAP_LOCKS): New config macro, defaults to 0.
(MAP_GET_CPU, MAP_PUT_CPU): Wrappers, default to ~no-op.
* map.c (_stp_pmap_clear,agg): Use them.
* pmap-gen.c (_stp_pmap_new,set,add,get_cpu,get,del): Ditto.

17 years ago2007-05-25 Frank Ch. Eigler <fche@redhat.com>
fche [Sat, 26 May 2007 01:55:20 +0000 (01:55 +0000)]
2007-05-25  Frank Ch. Eigler  <fche@redhat.com>

PR 4255 teaser.
* elaborate.cxx (has_null_param): New function.
* elaborate.h: Declare it.
* session.h: Include uprobe_derived_probes group.
* tapsets.cxx (uprobe_*): New classes.
(all_session_groups): List uprobes in list.
(register_standard_tapset): Interpret
process(#).statement(#).absolute and
process(#).statement(#).absolute.return probe points.

17 years ago2007-05-25 Martin Hunt <hunt@redhat.com>
hunt [Fri, 25 May 2007 19:14:53 +0000 (19:14 +0000)]
2007-05-25  Martin Hunt  <hunt@redhat.com>

Patch from Quentin Barnes.
* tapsets.cxx (query_module): Add support for arm.

17 years ago2007-05-25 Martin Hunt <hunt@redhat.com>
hunt [Fri, 25 May 2007 14:40:31 +0000 (14:40 +0000)]
2007-05-25  Martin Hunt  <hunt@redhat.com>

* systemtap.samples/lket.exp (cleanfiles): Set timeout inside expect.
* systemtap.maps/absentstats.exp: Set timeout inside expect.
* lib/stap_run2.exp (stap_run2): Set timeout to 180 inside expect.
* lib/stap_run.exp (stap_run): Set timeout to 180 for slower machines.
Remove $ anchor on output. Fix a few minor nits in patterns.

17 years ago2007-05-25 Martin Hunt <hunt@redhat.com>
hunt [Fri, 25 May 2007 14:39:23 +0000 (14:39 +0000)]
2007-05-25  Martin Hunt  <hunt@redhat.com>

* syscall.exp (test_procedure): Remove stray timeout assignment.

This page took 0.063965 seconds and 5 git commands to generate.