]> sourceware.org Git - systemtap.git/log
systemtap.git
17 years ago2007-05-09 Martin Hunt <hunt@redhat.com>
hunt [Wed, 9 May 2007 19:30:26 +0000 (19:30 +0000)]
2007-05-09  Martin Hunt  <hunt@redhat.com>

* relay.c (reader_thread): For bulk mode, set timeout to NULL
so ppoll never times out.

17 years ago2007-05-09 Martin Hunt <hunt@redhat.com>
hunt [Wed, 9 May 2007 17:40:02 +0000 (17:40 +0000)]
2007-05-09  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp: Added compat_sys_pause to syscall.pause.

* syscalls.stp: Added sys_lstat64 to syscall.lstat.
Added compat_sys_gettimeofday to syscall.gettimeofday.

* ppc64/syscalls.stp: Remove sys_lstat64.
* i686/syscalls.stp: Remove sys_lstat64.

17 years ago2007-05-08 Martin Hunt <hunt@redhat.com>
hunt [Tue, 8 May 2007 21:56:02 +0000 (21:56 +0000)]
2007-05-08  Martin Hunt  <hunt@redhat.com>

* relay.c (ppoll): Add a compatibility function for
glibc < 2.4.

17 years ago2007-05-08 Martin Hunt <hunt@redhat.com>
hunt [Tue, 8 May 2007 20:40:38 +0000 (20:40 +0000)]
2007-05-08  Martin Hunt  <hunt@redhat.com>

* buildrun.cxx (run_pass): Send proper verbosity
level to staprun

17 years ago2007-05-08 Martin Hunt <hunt@redhat.com>
hunt [Tue, 8 May 2007 20:38:10 +0000 (20:38 +0000)]
2007-05-08  Martin Hunt  <hunt@redhat.com>

Signal handler cleanup.
* mainloop.c (fatal_handler): New. Cleanly handle
unexpected fatal signals.
(setup_main_signals): New. Set signals once mainloop
is entered.
(setup_signals): New. Block certain signals during initialization.
Set handler for fatal signals.
* relay.c (reader_thread): Use ppoll(). Terminate on
SIGUSR2 after reading any remaining data.
(close_relayfs): Remove sleep hack. Send SIGUSR2 to all threads.

Runtime debug messages.
* staprun.h: Change dbug() to accept a debuglevel and
enable it.
* *.c: Modify dbug() calls.

17 years ago PR4470
wcohen [Tue, 8 May 2007 13:21:33 +0000 (13:21 +0000)]
PR4470
* testsuite/systemtap.syscall/syscall.exp: Build correct sizes for
32-bit and 64-bit machines.

17 years ago2007-05-07 Martin Hunt <hunt@redhat.com>
hunt [Mon, 7 May 2007 20:08:32 +0000 (20:08 +0000)]
2007-05-07  Martin Hunt  <hunt@redhat.com>
Patch from David Smith
* mainloop.c (stp_main_loop): Properly handle write()
return value. Fixes build problem with some compilers.

17 years ago2007-05-07 Martin Hunt <hunt@redhat.com>
hunt [Mon, 7 May 2007 17:11:49 +0000 (17:11 +0000)]
2007-05-07  Martin Hunt  <hunt@redhat.com>
PR4466
* systemtap.samples/system_func.stp: Rewrite test to account
for probes not being placed until after begin.
* systemtap.samples/system_func.exp: Only expect 1 sys_open.

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

* signal.c (main):  Fix expected expression to accept
both 32 and 64-bit pointers.

17 years agogrammar fix
fche [Sun, 6 May 2007 21:17:11 +0000 (21:17 +0000)]
grammar fix

17 years ago2007-05-06 Frank Ch. Eigler <fche@elastic.org>
fche [Sun, 6 May 2007 20:58:48 +0000 (20:58 +0000)]
2007-05-06  Frank Ch. Eigler  <fche@elastic.org>

PR 1305.
* tapsets.cxx (iterate_over_srcfile_lines): Exclude approximate
file:lineno matches optimistically returned by dwarf_getsrc_file.
(query_srcfile_line): Use Dwarf_Line line number for constructing
derived_probe location string.

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

* semko/thirtynine.stp: New test.

17 years ago2007-05-02 David Smith <dsmith@redhat.com>
dsmith [Wed, 2 May 2007 21:27:10 +0000 (21:27 +0000)]
2007-05-02  David Smith  <dsmith@redhat.com>

* translate.cxx (c_tmpcounter::visit_functioncall): Updated
temporary handling.
(c_unparser::visit_functioncall): No longer copies numeric and
string constants to temporary variables.

17 years ago2007-05-01 David Smith <dsmith@redhat.com>
dsmith [Tue, 1 May 2007 18:06:37 +0000 (18:06 +0000)]
2007-05-01  David Smith  <dsmith@redhat.com>

* translate.cxx (c_tmpcounter::visit_binary_expression): Updated
temporary handling.
(c_unparser::visit_binary_expression): Improved handing of numeric
constants when handling '%' and '/' operators.
(c_tmpcounter::visit_print_format): Updated temporary handling.
(c_unparser::visit_print_format): Removed the need for a result
temporary when printing to a stream.

17 years ago2007-05-01 Martin Hunt <hunt@redhat.com>
hunt [Tue, 1 May 2007 17:20:57 +0000 (17:20 +0000)]
2007-05-01  Martin Hunt  <hunt@redhat.com>

* systemtap.samples/system_func.*: New test.

17 years ago2007-05-01 Martin Hunt <hunt@redhat.com>
hunt [Tue, 1 May 2007 17:19:22 +0000 (17:19 +0000)]
2007-05-01  Martin Hunt  <hunt@redhat.com>

* systemtap.samples/sysopen*: Deleted.

17 years ago2007-05-01 Martin Hunt <hunt@redhat.com>
hunt [Tue, 1 May 2007 15:22:27 +0000 (15:22 +0000)]
2007-05-01  Martin Hunt  <hunt@redhat.com>

* statfs.c (main): Fix expected expression to accept
both 32 and 64-bit pointers.

17 years ago* PR 4329
fche [Tue, 1 May 2007 12:42:46 +0000 (12:42 +0000)]
* PR 4329

17 years ago2007-04-30 David Smith <dsmith@redhat.com>
dsmith [Mon, 30 Apr 2007 22:24:43 +0000 (22:24 +0000)]
2007-04-30  David Smith  <dsmith@redhat.com>

PR 2339
* translate.cxx (c_unparser_assignment::c_assignop): Improved
handling of numeric constants in the rest of the assignment
operators.
(c_tmpcounter_assignment::c_assignop): Updated temporary
handling.

17 years ago2007-04-29 Frank Ch. Eigler <fche@elastic.org>
fche [Sun, 29 Apr 2007 22:34:03 +0000 (22:34 +0000)]
2007-04-29  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac: Mention testsuite/configure.ac for version matching.

2007-04-29  Frank Ch. Eigler  <fche@elastic.org>

* Makefile.am (EXTRA_DIST): Add dejagnu subdirectories.
* configure.ac: Bump version to match parent directory.
* Makefile.in, configure: Regenerated.

17 years ago2007-04-27 Martin Hunt <hunt@redhat.com>
hunt [Fri, 27 Apr 2007 14:47:53 +0000 (14:47 +0000)]
2007-04-27  Martin Hunt  <hunt@redhat.com>

* runtime.h: Improve check for debugfs in kernel.

17 years ago2007-04-27 Martin Hunt <hunt@redhat.com>
hunt [Fri, 27 Apr 2007 14:44:58 +0000 (14:44 +0000)]
2007-04-27  Martin Hunt  <hunt@redhat.com>

* utt.h (struct utt_trace): Remove sequence.

17 years ago2007-04-27 Martin Hunt <hunt@redhat.com>
hunt [Fri, 27 Apr 2007 14:02:30 +0000 (14:02 +0000)]
2007-04-27  Martin Hunt  <hunt@redhat.com>

* utt.c (utt_trace_cleanup): Remove free of utt->sequence.
(utt_dropped_open): PR 4415. Use STAPCONF_INODE_PRIVATE to detect
correct inode struct.
(utt_trace_setup): Do not allocate utt->sequence.

17 years ago2007-04-27 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 27 Apr 2007 13:19:16 +0000 (13:19 +0000)]
2007-04-27  Frank Ch. Eigler  <fche@elastic.org>

PR 4432.
* buildrun.cxx (compile_pass): Tweak autoconf CFLAGS handling to
avoid macro recursion but still get the needed -I directives.
Add the inode-private autoconf test.

2007-04-27  Frank Ch. Eigler  <fche@elastic.org>

* autoconf-inode-private.c: New file from hunt.

17 years ago2007-04-26 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 26 Apr 2007 20:46:55 +0000 (20:46 +0000)]
2007-04-26  Frank Ch. Eigler  <fche@elastic.org>

PR 4432.
* buildrun.cxx (compile_pass): Add $(mflags-y) to stap_check_build.

17 years ago2007-04-26 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 26 Apr 2007 20:26:55 +0000 (20:26 +0000)]
2007-04-26  Frank Ch. Eigler  <fche@elastic.org>

* buildrun.cxx (compile_pass): Correct placement of commented-out
"set -x" make-macro-debugging snippet.

17 years agoIncreased timeout to fix intermittent test failures on s390x
dwilder [Wed, 25 Apr 2007 17:31:01 +0000 (17:31 +0000)]
Increased timeout to fix intermittent test failures on s390x

17 years agostp:syscall.pause Added sys32_pause to probe list.
dwilder [Wed, 25 Apr 2007 17:18:08 +0000 (17:18 +0000)]
stp:syscall.pause Added sys32_pause to probe list.

17 years ago2007-04-25 David Smith <dsmith@redhat.com>
dsmith [Wed, 25 Apr 2007 14:21:43 +0000 (14:21 +0000)]
2007-04-25  David Smith  <dsmith@redhat.com>

PR 2339
* translate.cxx: Renamed "qname" to "value" throughout, since
there are times now when qname would refer to a constant value.
(tmpvar::override): Added function to allow for overriding a
temporary variable name with a string.
(tmpvar::value): New function that returns either the overridden
string or the temporary variable name.
(c_unparser::c_expression): New function.
(c_unparser_assignment::c_assignop): Speed up assignment when
numeric or string constants are used.
(c_tmpcounter::visit_block): Avoid empty structs inside the union
of temporary variables.
(c_tmpcounter_assignment::prepare_rvalue): New function.
(c_tmpcounter_assignment::c_assignop): New function.
(c_tmpcounter_assignment::visit_symbol): Update temporary
declarations.
(c_unparser_assignment::prepare_rvalue): Speed up use of rvalues
by using numeric and string constants directly instead of copying
them to temporaries first.
(c_tmpcounter::load_map_indices): New function.
(c_unparser::load_map_indices): Speed up use of numeric and string
constants as map indices.
(c_tmpcounter::visit_arrayindex): Updated temporary declarations.
(c_tmpcounter_assignment::visit_arrayindex): Updated temporary
declarations.
* translate.h (class translator_output): Added tellp() and seekp()
functions.

17 years ago * memory.stp: Update vm.pagefault.return comment.
wcohen [Wed, 25 Apr 2007 02:59:24 +0000 (02:59 +0000)]
* memory.stp: Update vm.pagefault.return comment.

17 years agoAdded a couple simple syscall example scripts.
mmason [Tue, 24 Apr 2007 23:04:43 +0000 (23:04 +0000)]
Added a couple simple syscall example scripts.

17 years agosyscall.exp: Enabled 64-bit tests on s390x, 32-bit test to use -m31 on s390x.
dwilder [Tue, 24 Apr 2007 22:06:09 +0000 (22:06 +0000)]
syscall.exp: Enabled 64-bit tests on s390x, 32-bit test to use -m31 on s390x.

17 years agoAdapt socket tapset to changes in 2.6.19.
mmason [Tue, 24 Apr 2007 20:12:29 +0000 (20:12 +0000)]
Adapt socket tapset to changes in 2.6.19.

17 years ago2007-04-24 David Smith <dsmith@redhat.com>
dsmith [Tue, 24 Apr 2007 17:33:41 +0000 (17:33 +0000)]
2007-04-24  David Smith  <dsmith@redhat.com>

* tapsets.cxx (common_probe_entryfn_epilogue): Increment
error_count when overload processing kicks in.

17 years ago* fixing changelog entry location
fche [Tue, 24 Apr 2007 15:47:41 +0000 (15:47 +0000)]
* fixing changelog entry location

17 years ago * tapset/memory.stp: Add matching vm.pagefault.return
wcohen [Tue, 24 Apr 2007 15:21:01 +0000 (15:21 +0000)]
* tapset/memory.stp: Add matching vm.pagefault.return
* testsuite/buildok/memory.stp: Test vm.pagefault.return.

17 years ago2007-04-24 Martin Hunt <hunt@redhat.com>
hunt [Tue, 24 Apr 2007 13:32:19 +0000 (13:32 +0000)]
2007-04-24  Martin Hunt  <hunt@redhat.com>

* stp_check.in: More tweaking of mount statement.

17 years ago2007-04-23 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 23 Apr 2007 22:04:20 +0000 (22:04 +0000)]
2007-04-23  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.pass1-4/buildok.exp: Add some kfails.

17 years ago2007-04-23 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 23 Apr 2007 21:07:58 +0000 (21:07 +0000)]
2007-04-23  Frank Ch. Eigler  <fche@elastic.org>

* scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes
switch from __switch_to to context_switch on x86-64 in Ipswitch.

17 years ago2007-04-23 Martin Hunt <hunt@redhat.com>
hunt [Mon, 23 Apr 2007 19:49:48 +0000 (19:49 +0000)]
2007-04-23  Martin Hunt  <hunt@redhat.com>

* clock.c (main): Ifdef SYS_time.

17 years ago2007-04-23 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 23 Apr 2007 19:36:36 +0000 (19:36 +0000)]
2007-04-23  Frank Ch. Eigler  <fche@redhat.com>

* tapsets.cxx (die_entrypc): Expand search algorithm to
check for "aranges", as sometimes occurs for inlined functions.

17 years ago2007-04-23 Martin Hunt <hunt@redhat.com>
hunt [Mon, 23 Apr 2007 18:55:39 +0000 (18:55 +0000)]
2007-04-23  Martin Hunt  <hunt@redhat.com>

* mmap.c (main): Use open() instead of creat().

17 years ago2007-04-23 Martin Hunt <hunt@redhat.com>
hunt [Mon, 23 Apr 2007 17:53:28 +0000 (17:53 +0000)]
2007-04-23  Martin Hunt  <hunt@redhat.com>

* syscall.exp (test_procedure): For 64-bit machines, first
run with "-m64" and then with "-m32".

17 years ago.
roland [Fri, 20 Apr 2007 19:52:29 +0000 (19:52 +0000)]
.

17 years ago2007-04-20 Roland McGrath <roland@redhat.com>
roland [Fri, 20 Apr 2007 19:52:22 +0000 (19:52 +0000)]
2007-04-20  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in (elfutils_version): Bump to 0.127.

17 years ago2007-04-18 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 18 Apr 2007 19:04:20 +0000 (19:04 +0000)]
2007-04-18  Frank Ch. Eigler  <fche@elastic.org>

* Makefile.am (install-elfutils): Use $INSTALL_PROGRAM to
copy elfutils shared libraries, as suggested by Perry Cheng
<perryche@us.ibm.com>.

17 years ago2007-04-18 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 18 Apr 2007 11:11:55 +0000 (11:11 +0000)]
2007-04-18  Frank Ch. Eigler  <fche@elastic.org>

* parse.cxx (scan_pp): Correct warnings from if/if/else nesting.

17 years ago2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>
fche [Wed, 11 Apr 2007 20:49:01 +0000 (20:49 +0000)]
2007-04-04  Sébastien Dugué  <sebastien.dugue@bull.net>

* scsi.stp: Fix for when the scsi driver is built into the kernel.

17 years agoutf8 rules
fche [Wed, 11 Apr 2007 18:20:57 +0000 (18:20 +0000)]
utf8 rules

17 years ago2007-04-11 Martin Hunt <hunt@redhat.com>
hunt [Wed, 11 Apr 2007 18:19:29 +0000 (18:19 +0000)]
2007-04-11  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp: Add in6.h include.

17 years ago* tweak #include syntax
fche [Wed, 11 Apr 2007 18:19:15 +0000 (18:19 +0000)]
* tweak #include syntax

17 years ago2007-04-04 Sebastien Dugue <sebastien.dugue@bull.net>
fche [Wed, 11 Apr 2007 18:10:21 +0000 (18:10 +0000)]
2007-04-04  Sebastien Dugue  <sebastien.dugue@bull.net>

* runtime/lket/b2a/lket_b2a.c: Fix percpu files parsing
for percpu_header transport changes.

17 years ago*** empty log message ***
hunt [Tue, 10 Apr 2007 14:41:49 +0000 (14:41 +0000)]
*** empty log message ***

17 years ago2007-04-10 Martin Hunt <hunt@redhat.com>
hunt [Tue, 10 Apr 2007 14:41:39 +0000 (14:41 +0000)]
2007-04-10  Martin Hunt  <hunt@redhat.com>

* systemtap.printf/out*: New output tests to stress output
buffering and transport.
* systemtap.printf/mixed*: More output tests mixing print,
printf, and print_char.
* systemtap.printf/end*: Test that output from end probes
is all sent.

17 years ago2007-04-10 Martin Hunt <hunt@redhat.com>
hunt [Tue, 10 Apr 2007 14:37:44 +0000 (14:37 +0000)]
2007-04-10  Martin Hunt  <hunt@redhat.com>

* syscall.exp (test_procedure): Remove
test binaries when done.

17 years ago2007-04-10 Martin Hunt <hunt@redhat.com>
hunt [Tue, 10 Apr 2007 14:36:01 +0000 (14:36 +0000)]
2007-04-10  Martin Hunt  <hunt@redhat.com>

* relay.c (close_relayfs): Give threads some time to
run before closing.

17 years ago2007-04-10 Martin Hunt <hunt@redhat.com>
hunt [Tue, 10 Apr 2007 14:33:21 +0000 (14:33 +0000)]
2007-04-10  Martin Hunt  <hunt@redhat.com>

* logging.stp (print_char): New function.

* aux_syscalls.stp: Clean up network includes.

17 years ago2007-04-10 Martin Hunt <hunt@redhat.com>
hunt [Tue, 10 Apr 2007 13:28:51 +0000 (13:28 +0000)]
2007-04-10  Martin Hunt  <hunt@redhat.com>

* stp_check.in: Fixes to make sure debugfs or relayfs are mounted
exactly where we expect and other mounts are ignored.

17 years agoAdded new tapset developer's guide.
mmason [Mon, 9 Apr 2007 23:45:58 +0000 (23:45 +0000)]
Added new tapset developer's guide.

17 years ago2007-04-06 Martin Hunt <hunt@redhat.com>
hunt [Fri, 6 Apr 2007 16:44:54 +0000 (16:44 +0000)]
2007-04-06  Martin Hunt  <hunt@redhat.com>

* stp_merge.c (main): Remove extra newline in output.
* stap_merge.c: Renamed from stp_merge.c.
* Makefile: Updated.

17 years ago2007-04-05 Martin Hunt <hunt@redhat.com>
hunt [Thu, 5 Apr 2007 19:46:39 +0000 (19:46 +0000)]
2007-04-05  Martin Hunt  <hunt@redhat.com>

* bench2/var_bench, var.st, const.st: New test.

17 years ago*** empty log message ***
hunt [Thu, 5 Apr 2007 18:51:09 +0000 (18:51 +0000)]
*** empty log message ***

17 years ago2007-04-05 Martin Hunt <hunt@redhat.com>
hunt [Thu, 5 Apr 2007 18:50:54 +0000 (18:50 +0000)]
2007-04-05  Martin Hunt  <hunt@redhat.com>

* bench2/bench.rb (Stapbench::run): Check result code
of "killall staprun". If it is nonzero, something happened to
staprun. Print an error.
(Stapbench::load): Define STP_NO_OVERLOAD.
* bench2/README: Update.
* bench2/print_bench: New set of tests.

17 years ago2007-04-05 Martin Hunt <hunt@redhat.com>
hunt [Thu, 5 Apr 2007 13:28:03 +0000 (13:28 +0000)]
2007-04-05  Martin Hunt  <hunt@redhat.com>

* systemtap.samples/arith_limits.exp: Set test name correctly.

17 years agoupdate copyright
fche [Wed, 4 Apr 2007 21:19:59 +0000 (21:19 +0000)]
update copyright

17 years ago2007-04-03 Pierre Peiffer <pierre.peiffer@bull.net>
fche [Wed, 4 Apr 2007 21:18:23 +0000 (21:18 +0000)]
2007-04-03  Pierre Peiffer  <pierre.peiffer@bull.net>

* parse.cxx, parse.h (lexer::scan): Add $# and @# identifiers.
(eval_pp_conditional, scan_pp): Allow the use of $x and @x identifiers.
Produce more accurate error messages.
* stap.1.in: Document $# and @# identifiers.

2007-04-04  Pierre Peiffer  <pierre.peiffer@bull.net>

* parseok/fourteen.stp: Add test about $# and @# usage during
the preprocessing.
* parseko/preprocess10.stp: New test.
* parseko/preprocess11.stp: New test.
* parseko/preprocess12.stp: New test.

17 years ago2007-04-04 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 4 Apr 2007 18:41:27 +0000 (18:41 +0000)]
2007-04-04  Frank Ch. Eigler  <fche@elastic.org>

GCC 4.3 compatibility patches from Debian.
* buildrun.cxx, hash.cxx, tapsets.cxx, translate.cxx: #include a few
more C++ headers.

17 years ago2007-04-03 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 3 Apr 2007 18:35:28 +0000 (18:35 +0000)]
2007-04-03  Frank Ch. Eigler  <fche@elastic.org>

Improve error messages for underprivileged scripts.
* parse.h (parse_error): Add skip_some member, true default.
* parse.cxx (parse_embedded_code): Send false on missing -g.
* parse.cxx (parser::parse): Respect flag during parse error
recovery.

17 years ago2007-04-02 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 3 Apr 2007 01:29:06 +0000 (01:29 +0000)]
2007-04-02  Frank Ch. Eigler  <fche@redhat.com>

PR 3261.
* tapsets.cxx (query_module): Reject elfutils module "kernel"
unless kernel.* probe point used.

17 years ago2007-04-02 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 2 Apr 2007 21:17:35 +0000 (21:17 +0000)]
2007-04-02  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (query_dwarf_func): Skip non-inlined functions
for .function().inline case.

2007-04-02  Frank Ch. Eigler  <fche@elastic.org>

* socket-trace.stp, small_demos/prof.stp, top.stp: Adapt to
.inline -> .function change.

* semko/twentyone.stp: Ditto.

17 years ago2007-04-02 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 2 Apr 2007 20:30:30 +0000 (20:30 +0000)]
2007-04-02  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.samples/poll_map.stp, profile.stp, syscalls.stp:
Continue adopting to .inline -> .function change.
* systemtap.samples/topsys.stp, systemtap.stress/current.stp: Ditto.

17 years ago2007-04-02 Martin Hunt <hunt@redhat.com>
hunt [Mon, 2 Apr 2007 17:03:57 +0000 (17:03 +0000)]
2007-04-02  Martin Hunt  <hunt@redhat.com>

* relay_old.c (close_oldrelayfs): If just detaching, call
pthread_cancel.
(open_relayfs_files): Just return 0 if relay_fd[cpu] not opened.
(init_oldrelayfs): Scan percpu files to calculate ncpus.

* mainloop.c (init_staprun): Call old transport init when necessary.
(cleanup_and_exit): Ignore signals when cleaning up.

* ctl.c (read_buffer_info): For old transport, need to read transport
parameters.

17 years ago2007-04-02 Martin Hunt <hunt@redhat.com>
hunt [Mon, 2 Apr 2007 17:03:26 +0000 (17:03 +0000)]
2007-04-02  Martin Hunt  <hunt@redhat.com>

* transport_msgs.h (struct _stp_msg_trans): Deleted.
Transport parameters are now read from procfs.

* transport.c (_stp_ask_for_symbols): STP_TRANSPORT
message is empty.

* procfs.c (_stp_ctl_open_cmd): New. Set _stp_ pid.
(_stp_ctl_close_cmd): New. Unset _stp_pid.
(_stp_proc_fops_cmd): Add pointers to above funcs.
(_stp_ctl_read_bufsize): New.
(_stp_register_ctl_channel): Create a proc read entry
"bufsize" containing transport buffer sizes.

17 years ago2007-03-30 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 30 Mar 2007 19:17:02 +0000 (19:17 +0000)]
2007-03-30  Frank Ch. Eigler  <fche@redhat.com>

PR 1570
* NEWS: Document probe handler language change re. inline functions.
* stapprobes.5.in: Likewise.
* tapsets.cxx: Many changes to simplify caches and implement new
handling of inline functions, removed of stubs for future probes.
* elaborate.cxx (derived_probe printsig_nested): New function.
* elaborate.h: Declare it.
* main.cxx (usage): Clarify "-r" meaning.
(main): Tweak related "-p 4" message.

2007-03-30  Frank Ch. Eigler  <fche@elastic.org>

PR 1570.
* memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt
to .inline -> .function change.

2007-03-30  Frank Ch. Eigler  <fche@elastic.org>

PR 1570
* */*.stp: Adapt to .inline -> .function change.
* lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten
pass/fail dejagnu log lines.
* systemtap.syscall/sys.stp, test.tcl: Make slightly more
compatible and failure more verbose.

17 years ago2007-03-30 David Smith <dsmith@redhat.com>
dsmith [Fri, 30 Mar 2007 16:01:57 +0000 (16:01 +0000)]
2007-03-30  David Smith  <dsmith@redhat.com>

PR 2341
* translate.cxx (c_unparser::emit_locks): No longer emits a read
lock for global variables that are only written to in begin/end
probes.
(c_unparser::emit_unlocks): Ditto.
(translate_pass): Runs a varuse_collecting_visitor over probes
that need global variable locks for use in
emit_locks()/emit_unlocks().

17 years ago2007-03-30 David Smith <dsmith@redhat.com>
dsmith [Fri, 30 Mar 2007 13:43:04 +0000 (13:43 +0000)]
2007-03-30  David Smith  <dsmith@redhat.com>

* stap.1.in: Corrected probe overload processing text.

17 years ago2007-03-29 David Smith <dsmith@redhat.com>
dsmith [Thu, 29 Mar 2007 21:25:15 +0000 (21:25 +0000)]
2007-03-29  David Smith  <dsmith@redhat.com>

PR 3545
* stap.1.in: Documented probe overload processing.

17 years ago2007-03-29 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 29 Mar 2007 20:39:55 +0000 (20:39 +0000)]
2007-03-29  Frank Ch. Eigler  <fche@redhat.com>

* tapsets.cxx (dwarf_derived_probe emit_module_init): Correct handling
of kprobe registration errors in the middle of a sequence.

17 years ago2007-03-29 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 29 Mar 2007 17:30:59 +0000 (17:30 +0000)]
2007-03-29  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.maps/ix_*.exp: Add catch around close.

17 years ago2007-03-29 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 29 Mar 2007 16:48:31 +0000 (16:48 +0000)]
2007-03-29  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.maps/pmap_agg_overflow.exp: Robustify with respect
to expected error messages and early quitting.

17 years ago* tweak wordage
fche [Thu, 29 Mar 2007 16:42:43 +0000 (16:42 +0000)]
* tweak wordage

17 years ago2007-03-29 David Smith <dsmith@redhat.com>
dsmith [Thu, 29 Mar 2007 16:19:13 +0000 (16:19 +0000)]
2007-03-29  David Smith  <dsmith@redhat.com>

PR 4281
* parseko/cmdline07.stp: New test.
* parseko/cmdline08.stp: New test.

17 years ago2007-03-29 David Smith <dsmith@redhat.com>
dsmith [Thu, 29 Mar 2007 16:17:12 +0000 (16:17 +0000)]
2007-03-29  David Smith  <dsmith@redhat.com>

PR 4281
* main.cxx (main): Validates '-m NAME' option.  Chops off '.ko' if
present.  Makes sure name isn't empty.  Makes sure name is only
composed of characters [_a-zA-Z0-9].

17 years ago2007-03-28 David Smith <dsmith@redhat.com>
dsmith [Wed, 28 Mar 2007 20:11:37 +0000 (20:11 +0000)]
2007-03-28  David Smith  <dsmith@redhat.com>

        PR 2341 (partial fix)
        * elaborate.h (struct derived_probe): Added needs_global_locks()
        member function.  Unless overridden, will return true indicating
        that this probe needs locks around global variable references.
        * tapsets.cxx (struct be_derived_probe): Added override of default
        needs_global_locks() returning false.  begin/end probes don't
        need locks around global variables, since they aren't run
        concurrently with any other probes.
        * translate.cxx (c_unparser::emit_common_header): Updated
        probe_contents logic to match the logic in emit_probe.
        (c_unparser::emit_probe): Added whether the probe needs global
        variable locks to the probe string (that helps eliminate duplicate
        probes).  The generated C changes based on whether or not global
        variable locks are needed, but the pass 2 output doesn't differ
        between a probe that needs global variable locks and one that
        doesn't.  If the probe doesn't need global variable locks, doesn't
        output them.

17 years ago2007-03-28 Martin Hunt <hunt@redhat.com>
hunt [Wed, 28 Mar 2007 16:11:28 +0000 (16:11 +0000)]
2007-03-28  Martin Hunt  <hunt@redhat.com>

* control.c (_stp_ctl_open_cmd): Set _stp_pid.
(stp_ctl_close_cmd): Clear _stp_pid.
* transport.h: Declare _stp_pid;

17 years ago2007-03-26 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 26 Mar 2007 21:25:21 +0000 (21:25 +0000)]
2007-03-26  Frank Ch. Eigler  <fche@elastic.org>

* transport.c: Add #include <linux/namei.h> for lookup_one_len.

17 years ago* bump source tree to version 0.5.14.
fche [Mon, 26 Mar 2007 19:24:35 +0000 (19:24 +0000)]
* bump source tree to version 0.5.14.

17 years agofixing reference to 0.5.13 refresh
fche [Mon, 26 Mar 2007 19:21:59 +0000 (19:21 +0000)]
fixing reference to 0.5.13 refresh

17 years agoFixed last entry.
dsmith [Mon, 26 Mar 2007 18:20:42 +0000 (18:20 +0000)]
Fixed last entry.

17 years ago2007-03-26 David Smith <dsmith@redhat.com>
dsmith [Mon, 26 Mar 2007 18:19:53 +0000 (18:19 +0000)]
2007-03-26  David Smith  <dsmith@redhat.com>

* tapsets.cxx (dwflpp::translate_final_fetch_or_store): Improved
error messages for invalid types.

* elaborate.cxx (typeresolution_info::invalid): Improved the error
message for invalid operators.

17 years ago2007-03-26 Martin Hunt <hunt@redhat.com>
hunt [Mon, 26 Mar 2007 16:15:11 +0000 (16:15 +0000)]
2007-03-26  Martin Hunt  <hunt@redhat.com>

* mainloop.c (run_stp_check): Just use system() call.
(init_staprun): Remove _stp_pid module parameter.
(cleanup_and_exit): If closed==2, just exit without removing module.
(driver_poll): Remove. We no longer require stap running.
(_stp_main_loop): Remove call to driver_poll.

* ctl.c (init_ctl_channel): Don't put files in systemtap_pid,
revert back to systemtap/modulename.

* relay.c: Revert back to systemtap/modulename paths.
* relay_old.c: Ditto.

* staprun.c: Add -L and -A args.

17 years ago2007-03-26 Martin Hunt <hunt@redhat.com>
hunt [Mon, 26 Mar 2007 16:14:44 +0000 (16:14 +0000)]
2007-03-26  Martin Hunt  <hunt@redhat.com>

* symbols.c (_stp_do_module): If a module has no symbols, just
return NULL instead of an errorcode.

* control.c, procfs.c, relayfs.c, transport.c, utt.c, utt.h:
Revert back to using systemtap/modulename instead of systemtap_pid.

17 years agoRemove some debug statements. release-0.5.13
hunt [Sun, 25 Mar 2007 19:42:54 +0000 (19:42 +0000)]
Remove some debug statements.

17 years ago2007-03-22 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 22 Mar 2007 20:54:27 +0000 (20:54 +0000)]
2007-03-22  Frank Ch. Eigler  <fche@elastic.org>

PR 4224.
* staptree.h (probe): Add privileged field.
* elaborate.cxx, parse.cxx: Pass privileged flag to probes.
* tapsets.cxx (dwarf_query): Add has_absolute field.
(dwarf_derived_probe ctor): Tolerate it.
(register_patterns): Expose it.
(dwarf_builder::build): Implement it with no dwfl whatsoever.
* NEWS: Document kernel.statement().absolute.
* stapprobes.5.in: Ditto.

2007-03-22  Frank Ch. Eigler  <fche@elastic.org>

PR 4224.
* systemtap.base/probefunc.exp: Use kernel.statement().absolute
instead with grep-found schedule_tick address.
* semko/thirtyseven.stp, thirtyeight.stp: New tests.
* buildok/twentyeight.stp: New test.

2007-03-22  Frank Ch. Eigler  <fche@elastic.org>

* sym.c (_stp_module_relocate): Tolerate empty section string.

17 years agoUpdate file list.
jistone [Thu, 22 Mar 2007 16:08:27 +0000 (16:08 +0000)]
Update file list.

17 years ago2007-03-22 David Smith <dsmith@redhat.com>
dsmith [Thu, 22 Mar 2007 14:47:44 +0000 (14:47 +0000)]
2007-03-22  David Smith  <dsmith@redhat.com>

* systemtap.stress/conversions.exp: Fixed test case bug that only
affected s390x.

17 years ago * Makefile.am:
wcohen [Wed, 21 Mar 2007 20:42:16 +0000 (20:42 +0000)]
   * Makefile.am:
       * Makefile.in: Correct SAMPLE_SRC.

17 years ago2007-03-21 David Smith <dsmith@redhat.com>
dsmith [Wed, 21 Mar 2007 19:54:38 +0000 (19:54 +0000)]
2007-03-21  David Smith  <dsmith@redhat.com>

PR 4146
* systemtap.samples/control_limits.exp: Begin/end probes use
MAXACTION_INTERRUPTIBLE instead of MAXACTION.

17 years ago2007-03-21 David Smith <dsmith@redhat.com>
dsmith [Wed, 21 Mar 2007 19:54:14 +0000 (19:54 +0000)]
2007-03-21  David Smith  <dsmith@redhat.com>

PR 4146
* tapsets.cxx (common_probe_entryfn_prologue): Added
'interruptible' parameter.  If a probe is interruptible,
interrupts are not disabled while the probe executes.  Preemption
is disabled however.  Interruptible parameter defaults to false.
(common_probe_entryfn_epilogue): Ditto.
(be_derived_probe_group::emit_module_decl): Uses new
'interruptible' parameter to mark begin/end probes as
interruptible.
(probe_derived_probe_group::emit_module): Initialize
'actionremaining' with MAXACTION instead of initializing
'actioncount' with 0.
* translate.cxx (emit_common_header): Renamed 'actioncount' to
'actionremaining'.  Turned logic around to initialize
actionremaining to MAXACTION or MAXACTION_INTERRUPTIBLE then
decrement it as actions occur.
(translate_pass): Added MAXACTION_INTERRUPTIBLE initialization.
* translate.h: Removed outdated comment portion.
* stap.1.in: Documented MAXACTION_INTERRUPTIBLE.
* NEWS: Added note about begin/end probes being run with
interrupts enabled.

17 years ago2007-03-21 Martin Hunt <hunt@redhat.com>
hunt [Wed, 21 Mar 2007 15:09:57 +0000 (15:09 +0000)]
2007-03-21  Martin Hunt  <hunt@redhat.com>

* sym.h: Declare _stp_module_relocate.
* sym.c (_stp_module_relocate): Add comments, reformat, add
a way for "last" cached values to be cleared when modules
are removed.
(_stp_symbol_print): Simplify and remove static buffer.
(_stp_symbol_snprint): Ditto.
* symbols.c (_stp_del_module): Add a call to _stp_module_relocate
to clear its cache.

17 years ago2007-03-21 Martin Hunt <hunt@redhat.com>
hunt [Wed, 21 Mar 2007 14:00:00 +0000 (14:00 +0000)]
2007-03-21  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_map_init): Fix signed vs unsigned comparison warning.

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