summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* stp:syscall.pause Added sys32_pause to probe list.dwilder2007-04-253-4/+13
|
* 2007-04-25 David Smith <dsmith@redhat.com>dsmith2007-04-253-131/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * memory.stp: Update vm.pagefault.return comment.wcohen2007-04-252-0/+8
|
* Added a couple simple syscall example scripts.mmason2007-04-244-0/+149
|
* syscall.exp: Enabled 64-bit tests on s390x, 32-bit test to use -m31 on s390x.dwilder2007-04-242-1/+11
|
* Adapt socket tapset to changes in 2.6.19.mmason2007-04-246-79/+269
|
* 2007-04-24 David Smith <dsmith@redhat.com>dsmith2007-04-242-0/+6
| | | | | * tapsets.cxx (common_probe_entryfn_epilogue): Increment error_count when overload processing kicks in.
* * fixing changelog entry locationfche2007-04-243-5/+8
|
* * tapset/memory.stp: Add matching vm.pagefault.returnwcohen2007-04-243-0/+27
| | | | * testsuite/buildok/memory.stp: Test vm.pagefault.return.
* 2007-04-24 Martin Hunt <hunt@redhat.com>hunt2007-04-242-6/+10
| | | | * stp_check.in: More tweaking of mount statement.
* 2007-04-23 Frank Ch. Eigler <fche@elastic.org>fche2007-04-232-1/+8
| | | | * systemtap.pass1-4/buildok.exp: Add some kfails.
* 2007-04-23 Frank Ch. Eigler <fche@elastic.org>fche2007-04-232-3/+18
| | | | | * scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes switch from __switch_to to context_switch on x86-64 in Ipswitch.
* 2007-04-23 Martin Hunt <hunt@redhat.com>hunt2007-04-232-0/+6
| | | | * clock.c (main): Ifdef SYS_time.
* 2007-04-23 Frank Ch. Eigler <fche@redhat.com>fche2007-04-232-6/+53
| | | | | * tapsets.cxx (die_entrypc): Expand search algorithm to check for "aranges", as sometimes occurs for inlined functions.
* 2007-04-23 Martin Hunt <hunt@redhat.com>hunt2007-04-232-1/+5
| | | | * mmap.c (main): Use open() instead of creat().
* 2007-04-23 Martin Hunt <hunt@redhat.com>hunt2007-04-232-23/+37
| | | | | * syscall.exp (test_procedure): For 64-bit machines, first run with "-m64" and then with "-m32".
* .roland2007-04-201-7/+11
|
* 2007-04-20 Roland McGrath <roland@redhat.com>roland2007-04-201-1/+1
| | | | * systemtap.spec.in (elfutils_version): Bump to 0.127.
* 2007-04-18 Frank Ch. Eigler <fche@elastic.org>fche2007-04-183-4/+12
| | | | | | * Makefile.am (install-elfutils): Use $INSTALL_PROGRAM to copy elfutils shared libraries, as suggested by Perry Cheng <perryche@us.ibm.com>.
* 2007-04-18 Frank Ch. Eigler <fche@elastic.org>fche2007-04-182-9/+13
| | | | * parse.cxx (scan_pp): Correct warnings from if/if/else nesting.
* 2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>fche2007-04-112-4/+13
| | | | * scsi.stp: Fix for when the scsi driver is built into the kernel.
* utf8 rulesfche2007-04-111-1/+1
|
* 2007-04-11 Martin Hunt <hunt@redhat.com>hunt2007-04-112-0/+5
| | | | * aux_syscalls.stp: Add in6.h include.
* * tweak #include syntaxfche2007-04-111-1/+1
|
* 2007-04-04 Sebastien Dugue <sebastien.dugue@bull.net>fche2007-04-113-0/+27
| | | | | * runtime/lket/b2a/lket_b2a.c: Fix percpu files parsing for percpu_header transport changes.
* *** empty log message ***hunt2007-04-101-0/+9
|
* 2007-04-10 Martin Hunt <hunt@redhat.com>hunt2007-04-1016-0/+3422
| | | | | | | | | * 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.
* 2007-04-10 Martin Hunt <hunt@redhat.com>hunt2007-04-102-0/+7
| | | | | * syscall.exp (test_procedure): Remove test binaries when done.
* 2007-04-10 Martin Hunt <hunt@redhat.com>hunt2007-04-102-0/+6
| | | | | * relay.c (close_relayfs): Give threads some time to run before closing.
* 2007-04-10 Martin Hunt <hunt@redhat.com>hunt2007-04-103-2/+14
| | | | | | * logging.stp (print_char): New function. * aux_syscalls.stp: Clean up network includes.
* 2007-04-10 Martin Hunt <hunt@redhat.com>hunt2007-04-102-3/+8
| | | | | * stp_check.in: Fixes to make sure debugfs or relayfs are mounted exactly where we expect and other mounts are ignored.
* Added new tapset developer's guide.mmason2007-04-092-0/+252
|
* 2007-04-06 Martin Hunt <hunt@redhat.com>hunt2007-04-063-6/+10
| | | | | | * stp_merge.c (main): Remove extra newline in output. * stap_merge.c: Renamed from stp_merge.c. * Makefile: Updated.
* 2007-04-05 Martin Hunt <hunt@redhat.com>hunt2007-04-054-0/+79
| | | | * bench2/var_bench, var.st, const.st: New test.
* *** empty log message ***hunt2007-04-051-0/+9
|
* 2007-04-05 Martin Hunt <hunt@redhat.com>hunt2007-04-053-5/+129
| | | | | | | | | * 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.
* 2007-04-05 Martin Hunt <hunt@redhat.com>hunt2007-04-052-1/+5
| | | | * systemtap.samples/arith_limits.exp: Set test name correctly.
* update copyrightfche2007-04-041-1/+1
|
* 2007-04-03 Pierre Peiffer <pierre.peiffer@bull.net>fche2007-04-049-40/+155
| | | | | | | | | | | | | | | * 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.
* 2007-04-04 Frank Ch. Eigler <fche@elastic.org>fche2007-04-045-0/+12
| | | | | | GCC 4.3 compatibility patches from Debian. * buildrun.cxx, hash.cxx, tapsets.cxx, translate.cxx: #include a few more C++ headers.
* 2007-04-03 Frank Ch. Eigler <fche@elastic.org>fche2007-04-033-22/+36
| | | | | | | | 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.
* 2007-04-02 Frank Ch. Eigler <fche@redhat.com>fche2007-04-032-2/+15
| | | | | | PR 3261. * tapsets.cxx (query_module): Reject elfutils module "kernel" unless kernel.* probe point used.
* 2007-04-02 Frank Ch. Eigler <fche@elastic.org>fche2007-04-028-7/+18
| | | | | | | | | | | | * 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.
* 2007-04-02 Frank Ch. Eigler <fche@elastic.org>fche2007-04-026-7/+13
| | | | | | * systemtap.samples/poll_map.stp, profile.stp, syscalls.stp: Continue adopting to .inline -> .function change. * systemtap.samples/topsys.stp, systemtap.stress/current.stp: Ditto.
* 2007-04-02 Martin Hunt <hunt@redhat.com>hunt2007-04-025-35/+112
| | | | | | | | | | | | | * 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.
* 2007-04-02 Martin Hunt <hunt@redhat.com>hunt2007-04-024-20/+49
| | | | | | | | | | | | | | | * 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.
* 2007-03-30 Frank Ch. Eigler <fche@redhat.com>fche2007-03-3025-536/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2007-03-30 David Smith <dsmith@redhat.com>dsmith2007-03-302-4/+45
| | | | | | | | | | | 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().
* 2007-03-30 David Smith <dsmith@redhat.com>dsmith2007-03-302-5/+9
| | | | * stap.1.in: Corrected probe overload processing text.
* 2007-03-29 David Smith <dsmith@redhat.com>dsmith2007-03-292-0/+16
| | | | | PR 3545 * stap.1.in: Documented probe overload processing.