]> sourceware.org Git - systemtap.git/log
systemtap.git
15 years agoAdded error checking and other updates.
David Smith [Fri, 22 May 2009 15:50:30 +0000 (10:50 -0500)]
Added error checking and other updates.
* runtime/vsprintf.c: Added transport.h inclusion for STP_BUFFER_SIZE
  definition.

* runtime/transport/debugfs.c (_stp_register_ctl_channel_fs): Added error
  checking.
* runtime/transport/transport.c (_stp_get_root_dir): Ditto.
  (_stp_transport_fs_init): Added original transport support and error
  checking.
* runtime/transport/relay_v2.c (__stp_relay_create_buf_file_callback):
  Added error checking.
  (_stp_transport_data_fs_init): Ditto.
* runtime/transport/ring_buffer.c (_stp_transport_data_fs_init): Ditto.

* runtime/transport/utt.c: Removed unused file.
* runtime/transport/utt.h: Ditto.

15 years agoMerge commit 'origin/master' into pr7043
David Smith [Thu, 21 May 2009 21:57:04 +0000 (16:57 -0500)]
Merge commit 'origin/master' into pr7043

Conflicts:
runtime/print.c
runtime/transport/transport.c
runtime/transport/transport_msgs.h

15 years agoAdd stap-server buildreqs: nss-tools and pkgconfig.
David Smith [Fri, 15 May 2009 18:30:57 +0000 (13:30 -0500)]
Add stap-server buildreqs: nss-tools and pkgconfig.

15 years agoMark all testsuite/parseko/cmdline21.stp as executable.
Mark Wielaard [Fri, 15 May 2009 10:44:03 +0000 (12:44 +0200)]
Mark all testsuite/parseko/cmdline21.stp as executable.

15 years agoflightrec3.exp uses cpus as array, so rename skipped.exp cpus var to nr_cpus.
Mark Wielaard [Fri, 15 May 2009 09:44:42 +0000 (11:44 +0200)]
flightrec3.exp uses cpus as array, so rename skipped.exp cpus var to nr_cpus.

Works around a make installcheck issue that resulted in skipped.exp failing
because of "ERROR: can't set "cpus": variable is array"

* testsuite/systemtap.base/skipped.exp: Renamed cpus variable to nr_cpus.

15 years agoSet explicit longer, 60 second, timeout for alternatives.exp.
Mark Wielaard [Fri, 15 May 2009 09:23:23 +0000 (11:23 +0200)]
Set explicit longer, 60 second, timeout for alternatives.exp.

In an make installcheck run this is the first script that goes through
the full kernel debuginfo which might take a bit.

* testsuite/systemtap.base/alternatives.exp: Set timeout to 60, verbose
  log EOF or TIMEOUT when they occur.

15 years agoFixed comma space, space dot typos in various man pages.
Mark Wielaard [Fri, 15 May 2009 08:07:59 +0000 (10:07 +0200)]
Fixed comma space, space dot typos in various man pages.

Reported-by: K.Prasad <prasad@linux.vnet.ibm.com>
15 years agoFixed few typos in various man pages found by a spellchecker.
Petr Muller [Fri, 15 May 2009 07:53:45 +0000 (09:53 +0200)]
Fixed few typos in various man pages found by a spellchecker.

15 years agoFix few typos in stapprobes manpages found by a spellchecker.
Petr Muller [Fri, 15 May 2009 07:52:51 +0000 (09:52 +0200)]
Fix few typos in stapprobes manpages found by a spellchecker.

15 years ago[tracepoints] ternary is nicer for arg format
Josh Stone [Fri, 15 May 2009 02:08:37 +0000 (19:08 -0700)]
[tracepoints] ternary is nicer for arg format

15 years ago[tracepoints] Print pointer arguments with %p
Josh Stone [Fri, 15 May 2009 01:47:33 +0000 (18:47 -0700)]
[tracepoints] Print pointer arguments with %p

We know the full type of every tracepoint argument, so for those that
are pointers, print $$vars/$$parms using "%p".  The integer-type
arguments continue to use the generic "%#x".

15 years agoPR10139 Mark .probes section SHF_ALLOC.
Mark Wielaard [Thu, 14 May 2009 17:07:10 +0000 (19:07 +0200)]
PR10139 Mark .probes section SHF_ALLOC.

* includes/sys/sdt.h (STAP_PROBE_DATA_): Mark .probes section SHF_ALLOC.
* tapsets.cxx (dwarf_builder::build): Search in either dwarf or main elf
  file for .probes section.

15 years agoRevert "Include grapher in installed file list."
William Cohen [Thu, 14 May 2009 16:33:44 +0000 (12:33 -0400)]
Revert "Include grapher in installed file list."

This reverts commit 845a65342cda663e665847087d969ee9554a88f1.

15 years agoInclude grapher in installed file list.
William Cohen [Thu, 14 May 2009 12:03:58 +0000 (08:03 -0400)]
Include grapher in installed file list.

15 years agoInitialize variables in GraphWidget::on_motion_notify_event().
William Cohen [Thu, 14 May 2009 12:01:06 +0000 (08:01 -0400)]
Initialize variables in GraphWidget::on_motion_notify_event().

15 years agoFix inconsistent indentation for including header file in aux_syscalls.stp.
Sunzen Wang [Thu, 14 May 2009 09:24:04 +0000 (11:24 +0200)]
Fix inconsistent indentation for including header file in aux_syscalls.stp.

* tapset/aux_syscalls.stp: Don't indent #include <linux/utime.h>.

15 years agoPR 6930: Add additional testcases for flight recorder mode
Keiichi KII [Wed, 13 May 2009 20:55:11 +0000 (16:55 -0400)]
PR 6930: Add additional testcases for flight recorder mode

* testsuite/parseko/cmdline17.stp:
  command line check - bad combination with -D and -L
* testsuite/parseko/cmdline18.stp:
  command line check - bad combination with -D and -d
* testsuite/parseko/cmdline19.stp:
  command line check - bad combination with -D and -c
* testsuite/parseko/cmdline20.stp:
  command line check - need output file with -D
* testsuite/parseko/cmdline21.stp:
  command line check - need output file with -S
* testsuite/systemtap.base/flightrec3.exp:
  New test case for file switching with bulk mode
* testsuite/systemtap.base/flightrec3.stp:
  Test script for file switching per cpu

15 years agoInitialize aptr in runtime/map.c and keep gcc-4.4 happy
Ananth N Mavinakayanahalli [Wed, 13 May 2009 16:38:37 +0000 (22:08 +0530)]
Initialize aptr in runtime/map.c and keep gcc-4.4 happy

15 years agoImplement caller:string() in terms of symname() and caller_addr().
Mark Wielaard [Wed, 13 May 2009 10:51:38 +0000 (12:51 +0200)]
Implement caller:string() in terms of symname() and caller_addr().

* tapset/context-unwind.stp (caller): Implement as stap function using
  symname(), caller_addr() and sprintf().

15 years agoStart at supporting the original transport (STP_TRANSPORT_VERSION=1).
David Smith [Tue, 12 May 2009 18:38:48 +0000 (13:38 -0500)]
Start at supporting the original transport (STP_TRANSPORT_VERSION=1).
* runtime/print.c: Only use print_new.c.
* runtime/print_new.c (stp_print_flush): Add STP_TRANSPORT_VERSION 1 support.
* runtime/transport/transport.c: Removed inclusion of procfs.c.
* runtime/transport/procfs.c (_stp_proc_read): Adapt to new interface.
  (_stp_proc_write): Ditto.
* runtime/transport/relayfs.c: Ditto.

15 years agoUse actual sock in tcp_test, instead of unexisting sk variable.
Mark Wielaard [Tue, 12 May 2009 18:26:29 +0000 (20:26 +0200)]
Use actual sock in tcp_test, instead of unexisting sk variable.

* testsuite/buildok/tcp_test.stp (tcp.sendmsg): Use sock for testing.
  (tcp.recvmsg): Likewise.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
William Cohen [Mon, 11 May 2009 21:40:50 +0000 (17:40 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoProvide more details in testsuite.examples/README on how to submit examples.
William Cohen [Mon, 11 May 2009 21:39:43 +0000 (17:39 -0400)]
Provide more details in testsuite.examples/README on how to submit examples.

15 years agoCorrect typo in BUILD_SERVER test in configure.ac.
Dave Brolley [Mon, 11 May 2009 18:26:53 +0000 (14:26 -0400)]
Correct typo in BUILD_SERVER test in configure.ac.

15 years agoGet .probes section through dwarf debuginfo file if necessary.
Mark Wielaard [Sun, 10 May 2009 18:24:40 +0000 (20:24 +0200)]
Get .probes section through dwarf debuginfo file if necessary.

* tapsets.cxx (dwarf_builder::build): Add some comments, verbose log
  messages and get Elf through dwarf_getelf if it exists before searching
  for .probes section.

15 years agoAllow @cast failures to get optimized away
Josh Stone [Sat, 9 May 2009 02:30:42 +0000 (19:30 -0700)]
Allow @cast failures to get optimized away

We have the saved_conversion_error field, but I wasn't using it.  Now
@cast errors are saved in that field, so they're only seen if the
optimizer doesn't remove the @cast.

15 years agoPR10054: Unify the translate_components errors
Josh Stone [Sat, 9 May 2009 01:32:17 +0000 (18:32 -0700)]
PR10054: Unify the translate_components errors

Since translate_components is the one that knows the details of its
failures, it makes more sense to let it throw its own errors, instead of
relying on each caller to do it.  The function now always either returns
successfully or throws an error.

15 years agoRefactor anonymous lookups in translate_components
Josh Stone [Sat, 9 May 2009 00:50:28 +0000 (17:50 -0700)]
Refactor anonymous lookups in translate_components

The previous code recursed the entirety of translate_components, and
it seemed to be restarting the components list every time, so it would
only work if the anonymous portion was the first component.  Even then,
examining the code output by semok/thirtythree revealed that it wasn't
fully translating the locations when multiple anonymous pieces were
involved.

Instead, it now recurses in a separate function, find_struct_member,
which does just enough to find the member die and return.  It also
builds a vector of the locations passed through, so translate_components
can output code for the full chain of anonymity.

The generated code for semok/thirtythree's $page->mapping now appears to
match the offsets from my manual inspection of struct page.  I also
added a test for $page->first_page->mapping, which works now but would
segfault the old code.

15 years agoSets uid/gid on "dropped" file.
David Smith [Fri, 8 May 2009 20:28:56 +0000 (15:28 -0500)]
Sets uid/gid on "dropped" file.
* runtime/transport/relay_v2.c (_stp_transport_data_fs_init): Sets uid/gid
  on "dropped" file.

15 years agoCleaned up runtime/transport/relay_v2.c.
David Smith [Fri, 8 May 2009 20:21:27 +0000 (15:21 -0500)]
Cleaned up runtime/transport/relay_v2.c.
* runtime/transport/relay_v2.c: Cleanup.

15 years agoDon't attempt NSS if the module failed to build
Josh Stone [Fri, 8 May 2009 20:14:49 +0000 (13:14 -0700)]
Don't attempt NSS if the module failed to build

15 years agoWorking transport version 2 (RHEL5 and recent fedora kernels).
David Smith [Fri, 8 May 2009 20:00:06 +0000 (15:00 -0500)]
Working transport version 2 (RHEL5 and recent fedora kernels).
* runtime/transport/relay_v2.c: Morphed utt.c into relay_v2.c.  Actually
  works.

15 years agoSimplify buildok/context_test.stp
Josh Stone [Fri, 8 May 2009 19:40:43 +0000 (12:40 -0700)]
Simplify buildok/context_test.stp

The test was using optional probes on uptime_read_proc, which doesn't
exist anymore on 2.6.30.  The problem is that when those optional probes
are skipped, the test doesn't really do anything.

For a buildok test of the context functions, the actual probe point
doesn't matter, so I've changed it to just a begin probe that calls all
of the functions.

15 years agoAUTHORS bump for Malte Nuhn
Josh Stone [Fri, 8 May 2009 19:07:13 +0000 (12:07 -0700)]
AUTHORS bump for Malte Nuhn

15 years agocontext tapset: sid() function to return task session leader pid
Malte Nuhn [Fri, 8 May 2009 16:20:33 +0000 (12:20 -0400)]
context tapset: sid() function to return task session leader pid

15 years agoCheck whether certutil as provided by nss-tools is installed.
Mark Wielaard [Fri, 8 May 2009 09:42:24 +0000 (11:42 +0200)]
Check whether certutil as provided by nss-tools is installed.

* configure.ac: Add check for certuril, don't build nss stap server when
  not found.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
* doc/SystemTap_Tapset_Reference/Makefile.in: Likewise.
* grapher/Makefile.in: Likewise.

15 years agoSearch for only under $(SRCDIR)/tapsets for tapsets.xml and cleanup.
Mark Wielaard [Fri, 8 May 2009 08:30:41 +0000 (10:30 +0200)]
Search for only under $(SRCDIR)/tapsets for tapsets.xml and cleanup.

* doc/SystemTap_Tapset_Reference/Makefile.am (tapsets.xml): Only search
  under $(SRCDIR)/tapsets for .stp files. Cleanup tapsets.xml.new.
* doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated.

15 years agoremoved unnecessary perl statements
ddomingo [Fri, 8 May 2009 03:25:42 +0000 (13:25 +1000)]
removed unnecessary perl statements

15 years agomoves starthere tag higher to remove more content preventing publican build
ddomingo [Fri, 8 May 2009 03:25:36 +0000 (13:25 +1000)]
moves starthere tag higher to remove more content preventing publican build

15 years agoMerge branch 'tapsets-cleanup'
Josh Stone [Fri, 8 May 2009 02:06:52 +0000 (19:06 -0700)]
Merge branch 'tapsets-cleanup'

This merge splits some of the built-in tapsets into their own files, so
we can better maintain clean interfaces.  Still TODO are the dwarf-
dependent tapsets though, because that's a much bigger mess to untangle.

15 years agoDon't print out the commands.
William Cohen [Fri, 8 May 2009 01:52:28 +0000 (21:52 -0400)]
Don't print out the commands.

15 years agoCorrect TMPFILE and TMPFILE2 file names.
William Cohen [Fri, 8 May 2009 01:50:39 +0000 (21:50 -0400)]
Correct TMPFILE and TMPFILE2 file names.

15 years agoSeparate the utrace tapset
Josh Stone [Thu, 7 May 2009 23:41:16 +0000 (16:41 -0700)]
Separate the utrace tapset

15 years agoSeparate task_finder and the itrace tapset
Josh Stone [Thu, 7 May 2009 23:17:11 +0000 (16:17 -0700)]
Separate task_finder and the itrace tapset

15 years agoSeparate the kernel.mark tapset
Josh Stone [Thu, 7 May 2009 22:15:29 +0000 (15:15 -0700)]
Separate the kernel.mark tapset

15 years agoSeparate the permon tapset
Josh Stone [Thu, 7 May 2009 21:49:08 +0000 (14:49 -0700)]
Separate the permon tapset

15 years agoHid details of internal ring_buffer.c structure.
David Smith [Thu, 7 May 2009 20:02:05 +0000 (15:02 -0500)]
Hid details of internal ring_buffer.c structure.
* runtime/print_new.c (stp_print_flush): Calls _stp_data_entry_data() to
  get data pointer.
* runtime/transport/transport.h: Removed _stp_entry definition.  Added
  _stp_data_entry_data() declaration.
* runtime/transport/ring_buffer.c: Uses new _stp_data_entry structure.
  (_stp_data_entry_data): Added.

15 years agoGroup all kprobe_derived_FOO together
Josh Stone [Thu, 7 May 2009 18:44:13 +0000 (11:44 -0700)]
Group all kprobe_derived_FOO together

15 years agofix permissions of some testsuite files
Frank Ch. Eigler [Thu, 7 May 2009 15:24:04 +0000 (11:24 -0400)]
fix permissions of some testsuite files

Reported-By: Petr Muller <pmuller@redhat.com>
15 years agoadded tcpdumplike.stp to Network for Fedora build only
ddomingo [Thu, 7 May 2009 06:02:51 +0000 (16:02 +1000)]
added tcpdumplike.stp to Network for Fedora build only

15 years agoSeparate the procfs tapset
Josh Stone [Thu, 7 May 2009 01:52:46 +0000 (18:52 -0700)]
Separate the procfs tapset

15 years agoUse a single entry function for begin/end/error
Josh Stone [Thu, 7 May 2009 01:26:45 +0000 (18:26 -0700)]
Use a single entry function for begin/end/error

15 years agoSeparate the begin/end/error/never tapsets
Josh Stone [Thu, 7 May 2009 00:40:36 +0000 (17:40 -0700)]
Separate the begin/end/error/never tapsets

15 years agoMerge profile_builder into timer_builder
Josh Stone [Wed, 6 May 2009 23:53:10 +0000 (16:53 -0700)]
Merge profile_builder into timer_builder

15 years agoSeparate built-in timer tapsets
Josh Stone [Wed, 6 May 2009 23:43:51 +0000 (16:43 -0700)]
Separate built-in timer tapsets

All of the timer.* tapsets are now built and handled in their own
tapset-timers.cxx, as the first step of many to pare down the current
monolithic tapsets.cxx.

15 years agoAdded comments.
David Smith [Wed, 6 May 2009 19:32:08 +0000 (14:32 -0500)]
Added comments.
* runtime/transport/transport.h: Added comments.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Wed, 6 May 2009 17:53:44 +0000 (13:53 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoProblems using server scripts when not on PATH.
Dave Brolley [Wed, 6 May 2009 17:52:52 +0000 (13:52 -0400)]
Problems using server scripts when not on PATH.
HAVE_NSS related compile time warning.

15 years agoStart of support for older transport and cleanup.
David Smith [Wed, 6 May 2009 17:25:02 +0000 (12:25 -0500)]
Start of support for older transport and cleanup.
* runtime/transport/control.c: Added inclusion of linux/delay.h to get
  declaration of msleep().
* runtime/transport/relay_v2.c: New skeleton file for transport version 2.
* runtime/transport/ring_buffer.c: Cleanup.
* runtime/transport/transport.c: Ditto.

15 years agoRun autoreconf
Eugeniy Meshcheryakov [Wed, 6 May 2009 15:58:44 +0000 (17:58 +0200)]
Run autoreconf

15 years agoRevert "Remove latex2html from BuildRequires"
Eugeniy Meshcheryakov [Wed, 6 May 2009 15:57:50 +0000 (17:57 +0200)]
Revert "Remove latex2html from BuildRequires"

This reverts commit 079e3163aec9bd146428ca930f7de9f78eec233b.

15 years agoRevert "Remove latex2html detection, it is not used anymore"
Eugeniy Meshcheryakov [Wed, 6 May 2009 15:57:21 +0000 (17:57 +0200)]
Revert "Remove latex2html detection, it is not used anymore"

This reverts commit 3f6d0896b990c586667d0de08ac85b18effb0274.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Wed, 6 May 2009 15:19:32 +0000 (11:19 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoReplace entire default path for stap_exec_prefix.
Dave Brolley [Wed, 6 May 2009 15:19:04 +0000 (11:19 -0400)]
Replace entire default path for stap_exec_prefix.

15 years agorun autoreconf
Eugeniy Meshcheryakov [Wed, 6 May 2009 15:13:33 +0000 (17:13 +0200)]
run autoreconf

15 years agoPR10102: tolerate the failure related to optional probe
Wenji Huang [Tue, 5 May 2009 23:26:38 +0000 (19:26 -0400)]
PR10102: tolerate the failure related to optional probe

This patch will make stap silently accept the
failure related to optional probe. It puts try/catch
around find_and_build which can cover most probe types.
The specific treatment for dwarf_derived_probe in
commit ed82b7c902d6a2e26452ec51c9cdb9665dbf9e97 is
reverted.

15 years agoHave stap-fine-or-start-server look in the right directory.
William Cohen [Wed, 6 May 2009 02:13:27 +0000 (22:13 -0400)]
Have stap-fine-or-start-server look in the right directory.

15 years agoFix --enable-refdocs
Eugeniy Meshcheryakov [Tue, 5 May 2009 23:04:38 +0000 (01:04 +0200)]
Fix --enable-refdocs

15 years agoTypo in invocation of stap-start-server
Dave Brolley [Tue, 5 May 2009 22:22:40 +0000 (18:22 -0400)]
Typo in invocation of stap-start-server

15 years agoRun autoreconf
Eugeniy Meshcheryakov [Tue, 5 May 2009 21:26:24 +0000 (23:26 +0200)]
Run autoreconf

15 years agoOnly disable building of PDF version of refdocs if xmlto is bad
Eugeniy Meshcheryakov [Tue, 5 May 2009 21:14:54 +0000 (23:14 +0200)]
Only disable building of PDF version of refdocs if xmlto is bad

15 years agoRemove latex2html from BuildRequires
Eugeniy Meshcheryakov [Tue, 5 May 2009 20:55:58 +0000 (22:55 +0200)]
Remove latex2html from BuildRequires

15 years agoRun autoreconf
Eugeniy Meshcheryakov [Tue, 5 May 2009 20:53:49 +0000 (22:53 +0200)]
Run autoreconf

15 years agoRemove latex2html detection, it is not used anymore
Eugeniy Meshcheryakov [Tue, 5 May 2009 20:50:54 +0000 (22:50 +0200)]
Remove latex2html detection, it is not used anymore

15 years agoMake test example for xmlto more complex, to make it fail on Debian
Eugeniy Meshcheryakov [Tue, 5 May 2009 20:45:36 +0000 (22:45 +0200)]
Make test example for xmlto more complex, to make it fail on Debian

15 years agoFix arguments to mktemp with less than 6 X's
Eugeniy Meshcheryakov [Tue, 5 May 2009 19:27:10 +0000 (21:27 +0200)]
Fix arguments to mktemp with less than 6 X's

15 years agoEnsure that pw is not used if it is NULL.
Dave Brolley [Tue, 5 May 2009 18:49:06 +0000 (14:49 -0400)]
Ensure that pw is not used if it is NULL.

15 years agoInitialize euid before using it.
Dave Brolley [Tue, 5 May 2009 18:35:52 +0000 (14:35 -0400)]
Initialize euid before using it.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Tue, 5 May 2009 18:31:35 +0000 (14:31 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoUse stap_system() in mod-signing code
Josh Stone [Tue, 5 May 2009 18:30:07 +0000 (11:30 -0700)]
Use stap_system() in mod-signing code

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Tue, 5 May 2009 18:30:04 +0000 (14:30 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoMake sure pw struct is initialized.
Dave Brolley [Tue, 5 May 2009 18:29:22 +0000 (14:29 -0400)]
Make sure pw struct is initialized.

15 years agoAdd Vim modelines for new C/C++ sources
Josh Stone [Tue, 5 May 2009 18:21:51 +0000 (11:21 -0700)]
Add Vim modelines for new C/C++ sources

15 years agoDescribe new module signing capability.
Dave Brolley [Tue, 5 May 2009 16:08:49 +0000 (12:08 -0400)]
Describe new module signing capability.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Tue, 5 May 2009 15:56:37 +0000 (11:56 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoadded ioblktime.stp to guide
ddomingo [Tue, 5 May 2009 05:43:56 +0000 (15:43 +1000)]
added ioblktime.stp to guide

15 years agoRevert "Fix kprobes.exp."
Ananth N Mavinakayanahalli [Tue, 5 May 2009 05:01:07 +0000 (10:31 +0530)]
Revert "Fix kprobes.exp."

This reverts commit 97d1fa6e24d8d4e8ceefc62f0d4a7f93a18e4125.

15 years agoTweak alternatives.exp
Wenji Huang [Mon, 4 May 2009 20:51:41 +0000 (16:51 -0400)]
Tweak alternatives.exp

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/systemtap
Dave Brolley [Mon, 4 May 2009 20:06:14 +0000 (16:06 -0400)]
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap

15 years agoModule signing and verification using a separate file for the module signature.
Dave Brolley [Mon, 4 May 2009 20:05:22 +0000 (16:05 -0400)]
Module signing and verification using a separate file for the module signature.

15 years agoFix kprobes.exp.
Ananth N Mavinakayanahalli [Mon, 4 May 2009 10:09:23 +0000 (15:39 +0530)]
Fix kprobes.exp.
Patch from Prerna Saxena.

15 years agoAdd manual for stringat function
Wenji Huang [Sun, 3 May 2009 23:19:32 +0000 (19:19 -0400)]
Add manual for stringat function

15 years agosystemtap.syscall tests do use + and * as metachars.
Mark Wielaard [Sun, 3 May 2009 06:05:43 +0000 (08:05 +0200)]
systemtap.syscall tests do use + and * as metachars.

+ and * are metacharacters, but should always be used
as metacharacters in the expressions, don't escape them.

* testsuite/systemtap.syscall/test.tcl (run_one_test): Remove escaping
  of + and *.

15 years agoDon't recurse into DW_AT_declaration subprograms in iterate_over_labels.
Mark Wielaard [Sun, 3 May 2009 04:49:02 +0000 (06:49 +0200)]
Don't recurse into DW_AT_declaration subprograms in iterate_over_labels.

Newer gcc (4.4) places more DW_TAG_subprograms with DW_AT_declaration
at call sites. iterate_over_labels should only be concerned about
complete declarations.

* tapsets.cxx (dwflpp::iterate_over_labels): Skip DW_TAG_subprogram
  that has attribute DW_AT_declaration.

15 years agoFix funtion -> function typo in alternatives.exp.
Mark Wielaard [Sat, 2 May 2009 15:52:50 +0000 (17:52 +0200)]
Fix funtion -> function typo in alternatives.exp.

* testsuite/systemtap.base/alternatives.exp (local1_script): Fix typo.

15 years agosyscalls testsuite: use different escape sequence
Frank Ch. Eigler [Thu, 30 Apr 2009 21:07:43 +0000 (17:07 -0400)]
syscalls testsuite: use different escape sequence

The syscall testsuite uses embedded "// TEXT" markers in the .c files
to designate expected output, kind of like the "dg-" bunch in the gcc
test suite.  Unfortunately, "//" is not a unique prefix to systemtap
tests, and in particular it can occur in the system headers that will
be picked up with the "gcc -E -C ..." invocation in test.tcl.

So let's switch to "//staptest//".  test.tcl is also modified to
escape a few more mischevious regexp metacharacters that might sneak
past.

15 years agowhitespace tweak in tcl code
Frank Ch. Eigler [Thu, 30 Apr 2009 20:54:04 +0000 (16:54 -0400)]
whitespace tweak in tcl code

15 years agoadd verboser strerrors if posix_spawn failed
Frank Ch. Eigler [Thu, 30 Apr 2009 20:43:41 +0000 (16:43 -0400)]
add verboser strerrors if posix_spawn failed

* buildrun.cxx (run_make_cmd, kernel_built_uprobes,
  copy_uprobes_symbols, run_pass, make_typequery_umod):
  Print strerror after a failed stap_system() if verbose.

15 years agoFixed uaddr tapset function for ppc64 by adding task_pt_regs() definition.
David Smith [Thu, 30 Apr 2009 15:20:41 +0000 (10:20 -0500)]
Fixed uaddr tapset function for ppc64 by adding task_pt_regs() definition.
PR10117 fix.
* tapset/context.stp: Added ppc64 task_pt_regs() definition if it dooesn't
  already exist.

15 years agoPR10007: Avoid probing syscall entry points in the testsuite.
Ananth N Mavinakayanahalli [Thu, 30 Apr 2009 11:30:38 +0000 (17:00 +0530)]
PR10007: Avoid probing syscall entry points in the testsuite.
While there, fix minor issues with the s390x syscall tapset.

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