]> sourceware.org Git - systemtap.git/log
systemtap.git
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.

17 years ago2007-03-20 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 21 Mar 2007 01:58:10 +0000 (01:58 +0000)]
2007-03-20  Frank Ch. Eigler  <fche@elastic.org>

PR 4224.
* tapsets.cxx (add_probe_point): Make kernel implicitly relocated
relative to the _stext symbol.
(dwarf_derived_probe ctor, emit_module_decls): Cooperate.
(lookup_symbol_address): New function.
(dwarf_builder::build): Call it thrice.
(in_kprobes_function): Simplify.
* session.h (systemtap_session): Rename cached symbol addresses.
* translate.cxx, elaborate.cxx: Corresponding tweaks.

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

PR 4224.
* sym.c (_stp_module_relocate): Support kernel relocations.

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

* symbols.c (_stp_do_symbols): Add cautionary blurb for important
setup of _stp_modules[0]->text.

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

* symbols.c (send_module): If send returns < 0 then
cleanup and exit.
(do_kernel_symbols): Ditto.

17 years ago2007-03-20 Martin Hunt <hunt@redhat.com>
hunt [Tue, 20 Mar 2007 20:19:29 +0000 (20:19 +0000)]
2007-03-20  Martin Hunt  <hunt@redhat.com>

* symbols.c (_stp_alloc_module): Fix up error
cleanup when malloc fails.

17 years ago2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net>
fche [Tue, 20 Mar 2007 16:24:37 +0000 (16:24 +0000)]
2007-03-09  Pierre Peiffer  <pierre.peiffer@bull.net>

* buildok/twenty.stp, semok/seventeen.stp: Adapt to kernel 2.6.20.

17 years ago* applying kernel drift patches
fche [Tue, 20 Mar 2007 16:22:34 +0000 (16:22 +0000)]
* applying kernel drift patches

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

* nfsd.stp (nfsd.dispatch): Change initialization of variable
client_ip with a call to addr_from_rqst.
* rpc.stp (addr_from_rqst): - update with changes in struct svc_rqst
- __rpc_execute returns void now.  struct rpc_xprt modified since
kernel 2.6.19.
* nfs.stp, vfs.stp: Local variables f_dentry renamed, because
conflicting with a new #define in kernel header linux/fs.h in 2.6.20.

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

* nfs.stp: Local variables f_dentry renamed, because conflicting
with a new #define in kernel header linux/fs.h in 2.6.20.

* rpc.stp (_addevent.sunrpc.sched.execute.return):
update with __rpc_execute which returns void since kernel 2.6.21.

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

PR 4146 (partial fix)
* tapsets.cxx (all_session_groups): Added note about stating that
begin probes should be registered (actually run) first and end
probes should be unregistered (run) last.
* translate.cxx (c_unparser::emit_module_exit): Process probe
group vector in reverse order so that probe groups will get
unregistered in the reverse order that they were registered.

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

* .cvsignore: Added systemtap.syscall test programs.

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

* buildrun.cxx (compile_pass): Emit kbuild-time autoconf widgets
to customize runtime or translator C code to actual kernel rather
than kernel version string.  Thanks to FC 2.6."20" for the nudge.
* tapsets.cxx (hrtimer*emit_module): First client: HRTIMER_{MODE_}REL.

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

* autoconf-hrtimer-rel.c: New file.

17 years ago2007-03-18 Martin Hunt <hunt@redhat.com>
hunt [Mon, 19 Mar 2007 03:00:56 +0000 (03:00 +0000)]
2007-03-18  Martin Hunt  <hunt@redhat.com>
* staprun.h (err): Define.
* symbols.c (get_sections): More overflow checking.

17 years ago2007-03-18 Martin Hunt <hunt@redhat.com>
hunt [Sun, 18 Mar 2007 21:08:52 +0000 (21:08 +0000)]
2007-03-18  Martin Hunt  <hunt@redhat.com>
* symbols.c (get_sections): Filter out .gnu.linkonce.* sections
except for .gnu.linkonce.this_module.

17 years ago2007-03-18 Martin Hunt <hunt@redhat.com>
hunt [Sun, 18 Mar 2007 20:59:59 +0000 (20:59 +0000)]
2007-03-18  Martin Hunt  <hunt@redhat.com>
* stack.c, string.c, sym.c, transport/symbols.c:
Fix some signed vs unsigned comparison warnings.

17 years ago*** empty log message ***
hunt [Sun, 18 Mar 2007 19:48:03 +0000 (19:48 +0000)]
*** empty log message ***

17 years ago2007-03-18 Martin Hunt <hunt@redhat.com>
hunt [Sun, 18 Mar 2007 18:19:26 +0000 (18:19 +0000)]
2007-03-18  Martin Hunt  <hunt@redhat.com>

* staprun.h (VERSION_CMD): Command to use for version check.
Changes to support runtime decision on new or old transport.
* mainloop.c (init_staprun): Check the kernel version at runtime
instead of at compile time.
(cleanup_and_exit): Call the correct relayfs close function.
(stp_main_loop): Call the correct relayfs init function.
* relay.c: Remove ifdef wrapper. File is always compiled and used
if the kernel version is appropriate.
* relay_old.c: Ditto.

17 years ago2007-03-17 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 17 Mar 2007 17:43:41 +0000 (17:43 +0000)]
2007-03-17  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac: Tweak missing elfutils error message.
* configure: Regenerated.

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

* systemtap.base/overload.exp: New test.

17 years agojanitors of the world unite
fche [Fri, 16 Mar 2007 15:57:23 +0000 (15:57 +0000)]
janitors of the world unite

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

PR 3545.
* tapsets.cxx (common_probe_entryfn_prologue): Added
'overload_processing' parameter, which defaults to true.  If
overload_processing is set to false, doesn't output the
STP_OVERLOAD code.
(common_probe_entryfn_epilogue): Ditto.
(be_derived_probe_group::emit_module_decl): Set
overload_processing to false in calls to
common_probe_entryfn_prologue and common_probe_entryfn_epilogue
since begin/end probes shouldn't overload the system.
* translate.cxx (c_unparser::emit_common_header): Emit
STP_OVERLOAD global variables.
(translate_pass): Emit STP_OVERLOAD defines.

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

* .cvsignore: Added "config.log" and "config.status".

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 22:32:58 +0000 (22:32 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>
* main.cxx (usage): Remove "-M" and edit description
of "-b".
* stap.1.in: Remove "-M" option and edit description of "-b".
Edit description of "-o".

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 22:27:49 +0000 (22:27 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>
* stap.1.in: Remove "-M" option and edit description of "-b".

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 22:07:49 +0000 (22:07 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>
* stpd: Remove directory.
* relayfs: Remove directory.

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 22:04:16 +0000 (22:04 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>
* Makefile.am: Don't install old relayfs sources.
* makefile.in: Rebuilt.

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

* Makefile.am (staprun_SOURCES): Sources now live in
runtime/staprun.
* makefile.in: Rebuilt.

* staprun.8.in: Updated.

* buildrun.cxx (run_pass): Use "-v" instead of not "-q" to
be compatible with latest staprun.
* translate.cxx (emit_module_exit): Print warning using
_stp_printf so it shows up at the end of all output.
(translate_pass): Replace STP_RELAYFS with STP_BULKMODE.
Eliminate STP_RELAYFS_MERGE.

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

* bench2/bench.rb: Updated to work with new transport
and new itest.c.
* bench2/Makefile: Updated for new itest.c
* bench2/itest.c: Rewritten to use multiple threads
and automatically divide the workload among the threads.

* print.c (_stp_print_flush): Move to print_new.c and
print_old.c.
* print_new.c: New file containing _stp_print_flush()
for the new transport.
* print_old.c: Ditto for old transport.

* runtime.h (STP_OLD_TRANSPORT): Define
(errk): Define.
(MAXSTRINGLEN): Define if not already defined.

* io.c (_stp_vlog): Use _stp_ctl_write().

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

* transport_msgs.h: ifdef old messages as such.
Add support for new transport.
* relayfs.c: Simplify and add new interface to look
like utt.
* utt.[ch]: New files. Similar to the proposed utt interface.
These setup and teardown relayfs on debugfs.
* control.c: New file. Implements a simple control channel.
A small subset of procfs.c.
* procfs.c: This is now only used for old kernels lacking newer
relayfs. Change STP_RELAYFS to STP_BULKMODE. Use new
messages from transport_msgs.h. Don't support
RELAYFS_CHANNEL_VERSION >= 4. CHanges all control channel functions
to new names. Use pids instead of module names in /proc names.

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

* staprun.c: Renamed from stpd.c. Removed quiet and print_only
options. Added "-x" option as an alias for "-t". Removed "-m"
option. Updated arg processing to leave 4 slots for modoptions[].
Bump the priority of staprun.
* ctl.c: New. Transport control channel functions.
* relay.c: New. Relayfs control functions for new transport.
* relay_old.c: New. Relayfs control functions for older
versions of relayfs.
* mainloop.c: New. Staprun main loop.
* staprun.h: Renamed from librelay.h. Cleaned up.

* stap_merge.c: Renamed. Updated for modified save format.

17 years ago2007-03-13 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 14 Mar 2007 15:20:45 +0000 (15:20 +0000)]
2007-03-13  Frank Ch. Eigler  <fche@redhat.com>

PR 4171.
* Makefile.am (check, installcheck): Pass build-tree pointers
in environment variables.
* configure.ac: Run separate configury for testsuite/.
* configure, Makefile.in: Regenerated.

2007-03-14  Frank Ch. Eigler  <fche@redhat.com>

PR 4171.
* configure.ac, configure, aclocal.m4: New files to permit
testsuite-only build tree.
* Makefile.am (RUNTEST): Arrange a crazy concoction of
environment/make variable for runtest.
* Makefile.in: Regenerated.
* */*.stp: Switch test cases from "./stap" to "stap" throughout.
* lib/systemtap.exp: Assume/trace environment variables.
(stap_run_batch): Add "#! stap"-handling hack.

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

* systemtap.base/div0.stp: Fix so output
won't possibly have the error message before the printed
output.
* systemtap.base/maxactive.exp: Ditto.
* systemtap.maps/ix_clear.stp: Ditto.
* systemtap.maps/ix_clear2.stp: Ditto.
* systemtap.samples/args.exp: Remove obsolete "-r" option
to staprun.

17 years ago2007-03-12 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 12 Mar 2007 18:28:47 +0000 (18:28 +0000)]
2007-03-12  Frank Ch. Eigler  <fche@elastic.org>

* librelay.c (init_stp): Use /proc/MODULE rather than
/proc/systemtap/MODULE.

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

* procfs.c (_stp_register_procfs): Use /proc/MODULE rather than
/proc/systemtap/MODULE.

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

PR 4179.
Based on patch from Vasily Averin <vvs@sw.ru>:
* time.c (_stp_init_time): Recover from partial failures.

2007-03-12  Frank Ch. Eigler  <fche@redhat.com>

PR 4179.
Based on patch from Vasily Averin <vvs@sw.ru>:
* procfs.c (_stp_register_procfs): Recover from partial failures.
* transport.c (_stp_transport_open): Ditto.

17 years agoFix ChangeLog whitespace errors.
roland [Fri, 9 Mar 2007 22:11:48 +0000 (22:11 +0000)]
Fix ChangeLog whitespace errors.

17 years ago2007-03-07 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 7 Mar 2007 15:51:42 +0000 (15:51 +0000)]
2007-03-07  Frank Ch. Eigler  <fche@elastic.org>

PR 4116.
* buildok/twentyseven.stp: New test.
* systemtap.pass1-4/buildok.exp: kfail it.

17 years ago2007-03-07 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 7 Mar 2007 15:45:23 +0000 (15:45 +0000)]
2007-03-07  Frank Ch. Eigler  <fche@elastic.org>

PR 4166.
* tapsets.cxx (translate_components): Throw an exception rather
then suffer an assertion failure for $ptr[index] expressions.

17 years ago2007-03-06 David Smith <dsmith@redhat.com>
dsmith [Tue, 6 Mar 2007 19:15:41 +0000 (19:15 +0000)]
2007-03-06  David Smith  <dsmith@redhat.com>

* systemtap.base/alternatives.exp: Changed the probed kernel
function from 'signal_wake_up' (which wasn't present on some
kernels) to 'sys_getrlimit'.

17 years ago2007-03-05 David Smith <dsmith@redhat.com>
dsmith [Mon, 5 Mar 2007 20:41:28 +0000 (20:41 +0000)]
2007-03-05  David Smith  <dsmith@redhat.com>

* systemtap.spec.in: Made example perl script non-executable so
that the systemtap rpm won't require perl.

17 years ago2007-03-04 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 4 Mar 2007 19:38:20 +0000 (19:38 +0000)]
2007-03-04  Frank Ch. Eigler  <fche@redhat.com>

* stap.1.in, stapex.5.in, staprun.8.in: Tweak text to remove
authors credits, update examples and pointers.

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

PR 4121
* systemtap.stress/conversions.exp: Fix & improve below patch.

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

PR 4121
* systemtap.stress/conversions.exp: Bypass address=0 test for s390x.

17 years agoRewrote s390x version of __stp_put_asm and __stp_put_asm to do single
dwilder [Thu, 1 Mar 2007 19:04:18 +0000 (19:04 +0000)]
Rewrote s390x version of  __stp_put_asm and __stp_put_asm to do single
byte writes.

17 years ago(kernel_int) added goto success; (PR 4419)
dwilder [Thu, 1 Mar 2007 18:03:05 +0000 (18:03 +0000)]
(kernel_int) added goto success; (PR 4419)

17 years ago2007-02-28 David Smith <dsmith@redhat.com>
dsmith [Wed, 28 Feb 2007 15:10:26 +0000 (15:10 +0000)]
2007-02-28  David Smith  <dsmith@redhat.com>

* systemtap.spec.in: Fixed %{_libexecdir}/systemtap path in
systemtap-runtime %files section.

17 years ago2007-02-27 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Feb 2007 23:05:53 +0000 (23:05 +0000)]
2007-02-27  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.spec.in (/var/cache/systemtap): Forget it.
(stp_check): Pack this in with systemtap-runtime.
* stp_check.in: Add LANG=C for speed.

17 years ago2007-02-27 David Smith <dsmith@redhat.com>
dsmith [Tue, 27 Feb 2007 22:49:35 +0000 (22:49 +0000)]
2007-02-27  David Smith  <dsmith@redhat.com>

* staprun.8.in: Added a basic staprun man page.
* Makefile.am: Added staprun.8.
* Makefile.in: Regenerated.
* configure.ac: Added staprun.8.
* configure: Regenerated.
* systemtap.spec.in: Added staprun.8 and other document files to
staprun RPM.
* .cvsignore: Ignores staprun.8.

17 years ago* add sudo as a dependency for systemtap (not -runtime)
fche [Tue, 27 Feb 2007 22:03:41 +0000 (22:03 +0000)]
* add sudo as a dependency for systemtap (not -runtime)

17 years agonone
fche [Tue, 27 Feb 2007 21:02:09 +0000 (21:02 +0000)]
none

17 years ago2007-02-27 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Feb 2007 20:58:40 +0000 (20:58 +0000)]
2007-02-27  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (dwflpp setup): Print "missing kernel debuginfo"
message consistently for, er, missing kernel debuginfo.
(query_kernel_exists): Zapped.

17 years agoloc2c-runtime.h: Added defines for EX_TABLE needed by older
dwilder [Tue, 27 Feb 2007 19:05:18 +0000 (19:05 +0000)]
loc2c-runtime.h: Added defines for EX_TABLE needed by older
s390 kernels that do not already have it defined.

17 years ago2007-02-27 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 27 Feb 2007 19:03:44 +0000 (19:03 +0000)]
2007-02-27  Frank Ch. Eigler  <fche@redhat.com>

PR 4105
* buildok/twentysix.stp: New test.
* systemtap.pass1-4/buildok.exp: kfail it.

17 years ago2007-02-27 David Smith <dsmith@redhat.com>
dsmith [Tue, 27 Feb 2007 18:25:04 +0000 (18:25 +0000)]
2007-02-27  David Smith  <dsmith@redhat.com>

* systemtap.spec.in: Fedora Packaging Guidelines updates.  Updated
BuildRoot macro value to Fedora Extras standard value.  No longer
uses %makeinstall macro.  The rpm now owns the
/usr/libexec/systemtap directory.

17 years ago2007-02-26 David Smith <dsmith@redhat.com>
dsmith [Mon, 26 Feb 2007 20:41:58 +0000 (20:41 +0000)]
2007-02-26  David Smith  <dsmith@redhat.com>

* Makefile.am: Removed 'update-examples' target.  Moved
functionality to systemtap.spec.in.
* Makefile.in: Regenerated from Makefile.am.
* systemtap.spec.in: Fixes paths in the example scripts directly.

17 years ago2007-02-26 David Smith <dsmith@redhat.com>
dsmith [Mon, 26 Feb 2007 19:29:47 +0000 (19:29 +0000)]
2007-02-26  David Smith  <dsmith@redhat.com>

* Makefile.am: Added 'update-examples' target that fixes paths in
the example code we ship in the rpm.
* Makefile.in: Regenerated from Makefile.am.
* systemtap.spec.in: Calls "make update-examples" target to fix
the path to systemtap in the example scripts.

17 years agoChanged the s390 versions of __stp_put_asm __stp_get_asm to use EX_TABLE macro elimi...
dwilder [Mon, 26 Feb 2007 01:41:46 +0000 (01:41 +0000)]
Changed the s390 versions of  __stp_put_asm __stp_get_asm to use EX_TABLE macro eliminating the need for both a s390 and s390x version of these functions.  This alos fixed an aligment problem building the the exception table.

17 years ago* printf format warning fix
fche [Sun, 25 Feb 2007 23:56:47 +0000 (23:56 +0000)]
* printf format warning fix

17 years ago2007-02-25 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 25 Feb 2007 23:03:49 +0000 (23:03 +0000)]
2007-02-25  Frank Ch. Eigler  <fche@redhat.com>

* elaborate.h (match_node, derived_probe_builder): Add
build_no_more member function.
* elaborate.cxx (semantic_pass_symbols): Call it.
* tapsets.cxx (dwarf_builder): Implement it by releasing dwflpp
instance after pass 2, freeing mucho memory.

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