summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 2007-03-29 Frank Ch. Eigler <fche@redhat.com>fche2007-03-292-1/+11
| | | | | * tapsets.cxx (dwarf_derived_probe emit_module_init): Correct handling of kprobe registration errors in the middle of a sequence.
* 2007-03-29 Frank Ch. Eigler <fche@elastic.org>fche2007-03-294-3/+7
| | | | * systemtap.maps/ix_*.exp: Add catch around close.
* 2007-03-29 Frank Ch. Eigler <fche@elastic.org>fche2007-03-292-2/+7
| | | | | * systemtap.maps/pmap_agg_overflow.exp: Robustify with respect to expected error messages and early quitting.
* * tweak wordagefche2007-03-291-1/+2
|
* 2007-03-29 David Smith <dsmith@redhat.com>dsmith2007-03-293-0/+16
| | | | | | PR 4281 * parseko/cmdline07.stp: New test. * parseko/cmdline08.stp: New test.
* 2007-03-29 David Smith <dsmith@redhat.com>dsmith2007-03-292-0/+39
| | | | | | | 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].
* 2007-03-28 David Smith <dsmith@redhat.com>dsmith2007-03-284-3/+39
| | | | | | | | | | | | | | | | | | | | 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.
* 2007-03-28 Martin Hunt <hunt@redhat.com>hunt2007-03-283-0/+23
| | | | | | * control.c (_stp_ctl_open_cmd): Set _stp_pid. (stp_ctl_close_cmd): Clear _stp_pid. * transport.h: Declare _stp_pid;
* 2007-03-26 Frank Ch. Eigler <fche@elastic.org>fche2007-03-262-0/+5
| | | | * transport.c: Add #include <linux/namei.h> for lookup_one_len.
* * bump source tree to version 0.5.14.fche2007-03-264-11/+19
|
* fixing reference to 0.5.13 refreshfche2007-03-261-2/+3
|
* Fixed last entry.dsmith2007-03-261-0/+3
|
* 2007-03-26 David Smith <dsmith@redhat.com>dsmith2007-03-263-5/+30
| | | | | | | | * 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.
* 2007-03-26 Martin Hunt <hunt@redhat.com>hunt2007-03-267-123/+149
| | | | | | | | | | | | | | | | * 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.
* 2007-03-26 Martin Hunt <hunt@redhat.com>hunt2007-03-269-63/+220
| | | | | | | | * 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.
* Remove some debug statements.hunt2007-03-252-5/+1
|
* 2007-03-22 Frank Ch. Eigler <fche@elastic.org>fche2007-03-2214-26/+123
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update file list.jistone2007-03-221-26/+28
|
* 2007-03-22 David Smith <dsmith@redhat.com>dsmith2007-03-222-1/+6
| | | | | * systemtap.stress/conversions.exp: Fixed test case bug that only affected s390x.