| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* tapset/aux_syscalls.stp(_sock_type_str): Rewrote in embedded-C and added
socket flags support.
(_sock_flags_str): New function.
* tapset/syscalls.stp: syscall.accept prefers to use sys_accept4 when it
exists. Added support for sys_accept4's 'flag' parameter.
* testsuite/systemtap.syscall/net1.c (main): Updated regular expression to
handle the new 'flags' argument.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* testsuite/systemtap.syscall/test.tcl: Substitute '[[[[' and ']]]]' for
'(' and ')'. This allows us to get unquoted parens.
* testsuite/systemtap.syscall/test-debug.tcl: Matches substitute logic of
test.tcl.
* testsuite/systemtap.syscall/README: Document '[[[[' and ']]]]'.
* testsuite/systemtap.syscall/chmod.c: Handle optional O_LARGEFILE flag in
open calls.
* testsuite/systemtap.syscall/dir.c: Ditto.
* testsuite/systemtap.syscall/mmap.c: Ditto.
* testsuite/systemtap.syscall/openclose.c: Ditto.
* testsuite/systemtap.syscall/readwrite.c: Ditto.
* testsuite/systemtap.syscall/stat.c: Ditto.
|
|
|
|
|
|
|
|
|
| |
* elaborate.cxx (find_var): Take extra token parameter.
Look for cross-file global variable resolution, signal
a warning.
* testsuite/systemtap.examples/io/traceio2.stp: Fix it.
* testsuite/systemtap.syscall/sys.stp: Fix it.
* NEWS: Document it.
|
|
|
|
|
|
|
| |
* testsuite/systemtap.syscall/syscall.exp: Simplify logic things.
* testsuite/systemtap.syscall/test.tcl: Check compilation result.
* testsuite/systemtap.base/utrace_syscall_args.exp: Change fail to
untested.
|
| |
|
|
|
|
|
|
|
|
| |
+ 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 *.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Mark Wielaard, a dear friend of the departed, will be performing a song
and dance at the funeral services to commemorate the joyous times that
they had together.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* test.tcl: Support noexec /tmp by creating test directory
under build tree instead of /tmp.
|
|
|
|
|
|
| |
PR5554
* systemtap.syscall/alarm.c: Fix expected output patterns on ia64.
* systemtap.syscall/stat.c: Ditto.
|
| |
|
| |
|
|
|
|
| |
* rt_signal.c: Fix expected results for IA64.
|
|
|
|
|
|
|
| |
* rt_signal.c: Fix expected patterns to match
recent changes in tapsets.
* signal.c: Use syscall(). Fix expected patterns.
|
|
|
|
|
|
| |
2007-10-03 Frank Ch. Eigler <fche@elastic.org>
* systemtap.syscall/test.tcl: Don't list PASS on stdout.
|
|
|
|
|
|
| |
* systemtap.syscall/signal.c:
* systemtap.syscall/uid16.c: Compilation regardless of defines.
* systemtap.syscall/test.tcl: Handle UNSUPP tests correctly.
|
|
|
|
|
| |
* test.tcl (run_one_test): Append newlines when
using send_log().
|
| |
|
|
|
|
|
| |
* test.tcl (run_one_test): Fix unsupported results.
Send failure diffs to log.
|
|
|
|
| |
* link.c (main): Don't check result code.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* timer.c (main): Remove the return value checks.
|
| |
|
|
|
|
| |
* futimes.c (main): Add utimensat tests.
|
|
|
|
| |
* all_syscalls.stp: New file. Useful for debugging.
|
|
|
|
| |
* clock.c (main): Change flags to hex.
|
| |
|
|
|
|
| |
* poll.c (main): Don't hardcode fd.
|
|
|
|
|
| |
* select.c (main): Ifdef SYS_pselect6.
* poll.c (main): Ifdef SYS_ppoll.
|
|
|
|
| |
* select.c, poll.c: New.
|
|
|
|
|
| |
* futimes.c (main): Ifdef out futimesat tests
if not defined.
|
|
|
|
|
| |
* uid16.c (main): 16-bit syscalls now have
the same name as 32-bit. Fix patterns.
|
|
|
|
| |
* futimes.c: New test.
|
|
|
|
| |
* systemtap.syscall/readwrite.c: Tweak for new default string truncation width.
|
|
|
|
|
| |
* chmod.c, dir.c, mmap.c, net1.c, readwrite.c, stat.c,
sync.c, trunc.c: Eliminated hardcoded fd numbers.
|
|
|
|
|
| |
* syscall.exp (test_procedure): Use switch statements to clean
up the logic for setting flags for 64 and 32-bit passes.
|
|
|
|
| |
* syscall.exp (test_procedure): Remove stray timeout assignment.
|
|
|
|
|
| |
* testsuite/systemtap.syscall/syscall.exp: Build correct sizes for
32-bit and 64-bit machines.
|
|
|
|
|
| |
* signal.c (main): Fix expected expression to accept
both 32 and 64-bit pointers.
|
|
|
|
|
| |
* statfs.c (main): Fix expected expression to accept
both 32 and 64-bit pointers.
|
| |
|