]> sourceware.org Git - systemtap.git/log
systemtap.git
19 years agoAdd io.c
hunt [Thu, 28 Jul 2005 18:46:16 +0000 (18:46 +0000)]
Add io.c

19 years agoAdd test issii.c
hunt [Thu, 28 Jul 2005 18:45:24 +0000 (18:45 +0000)]
Add test issii.c

19 years ago2005-07-28 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 28 Jul 2005 18:42:58 +0000 (18:42 +0000)]
2005-07-28  Frank Ch. Eigler  <fche@redhat.com>

* translate.cxx: Add "pt_regs*" field to context.
* tapsets.cxx (*): Correct kprobes API interface.
* testsuite/buildok/three.stp: New test, copied from semok.
* Makefile.am (install-data-local): Also install runtime/relayfs,
so scripts can build against headers located thereunder.
* Makefile.in: Regenerated.

19 years ago2005-07-28 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 28 Jul 2005 18:07:02 +0000 (18:07 +0000)]
2005-07-28  Frank Ch. Eigler  <fche@redhat.com>

translator/1120
* main.cxx (main): Preset -R and -I options from environment
variables (if set).  Pass guru mode flags to parser.
* parse.cxx (privileged): New parser operation flag.  Update callers.
(parse_embeddedcode): Throw an error if !privileged.
(parse_functiondecl): Change signature.  Prevent duplicates.
(parse_globals): Ditto.
* parse.h: Corresponding changes.
* tapset/*.stp: Beginnings of real tapset library, to replace
previous builtins.
* tapsets.cxx: Greatly reduce verbose mode output.
* Makefile.am: Install & dist it.
* runtest.sh: Refer to it.
* Makefile.in, aclocal.m4: Regenerated.
* testsuite/*/*.stp: Set guru mode via /bin/sh if needed.
* testusite/*/*ko.stp: Homogenize shell scripts.

19 years ago2005-07-28 Martin Hunt <hunt@redhat.com>
hunt [Thu, 28 Jul 2005 17:35:11 +0000 (17:35 +0000)]
2005-07-28  Martin Hunt  <hunt@redhat.com>

* stp_dump.c: New file.

19 years ago2005-07-28 Martin Hunt <hunt@redhat.com>
hunt [Thu, 28 Jul 2005 17:33:09 +0000 (17:33 +0000)]
2005-07-28  Martin Hunt  <hunt@redhat.com>

* bench/ALL: Chnage to probe sys_getuid() and sys_getgid()
because those aren't used by stpd, unlike sys_read() and sys_write().

19 years ago2005-07-28 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 28 Jul 2005 16:12:38 +0000 (16:12 +0000)]
2005-07-28  Frank Ch. Eigler  <fche@redhat.com>

translator/1120
translator/1123
* elaborate.cxx (semantic_pass_symbols): Print a more helpful
error message around exceptions.
* elaborate.h (systemtap_session): Add guru_mode field.
* main.cxx (main): Initialize it to false.  Add version-sensitive
script library searching.  Add more failure messages.
* tapsets.cxx (dwflpp_assert): Add a decorative text parameter.
Update callers.

19 years ago2005-07-28 Martin Hunt <hunt@redhat.com>
hunt [Thu, 28 Jul 2005 15:56:36 +0000 (15:56 +0000)]
2005-07-28  Martin Hunt  <hunt@redhat.com>

* Makefile.am (install-data-local): Add runtime/transport.
* Makefile.in: regenerated.

19 years ago2005-07-26 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 27 Jul 2005 18:08:45 +0000 (18:08 +0000)]
2005-07-26  Graydon Hoare  <graydon@redhat.com>

* elaborate.cxx: Revert builtin-function code.
* translate.cxx: Likewise.
* tapsets.{h,cxx}: Likewise.

19 years ago2005-07-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 27 Jul 2005 05:52:00 +0000 (05:52 +0000)]
2005-07-26  Martin Hunt  <hunt@redhat.com>

* buildrun.cxx (compile_pass): Add -Wno-unused to CFLAGS because
usually a module doesn't use every function in the runtime.

19 years ago2005-07-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 27 Jul 2005 05:48:11 +0000 (05:48 +0000)]
2005-07-26  Martin Hunt  <hunt@redhat.com>

* Makefile.am (stpd_LDFLAGS): Set rpath correclty because otherwise
automake doesn't seem to get it right when binaries are in libexec subdirs.
(AM_CPPFLAGS): revert.
* systemtap.spec.in (LDFLAGS): Set libexecdir here instead.

19 years ago* same sort of thing
fche [Tue, 26 Jul 2005 22:42:55 +0000 (22:42 +0000)]
* same sort of thing

19 years ago2005-07-26 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 26 Jul 2005 22:40:14 +0000 (22:40 +0000)]
2005-07-26  Frank Ch. Eigler  <fche@redhat.com>

Support %{ embedded-c %}
* staptree.h (embeddedcode): New statement subtype.  Stub support in
visitors.
* staptree.cxx: Ditto.
* parse.cxx: Parse %{ / %}.  Accept "_" as identifier leading char.
(parse_probe): Simplify calling convention.
* elaborate.h: Store embedded code.
* elaborate.cxx: Pass it.
* translate.cxx: Transcribe it.  Return some dropped module init/exit
code.
* Makefile.am: Add buildok/buildko tests.
* Makefile.in: Regenerated.
* main.cxx: Return EXIT_SUCCESS/FAILURE even for weird rc.
* testsuite/parseok/nine.stp: Test _identifiers.
* testsuite/transko/*.stp: Tweak to force -p3 rather than -p2 errors.
* testsuite/semok/transko.stp: ... and keep it that way in the future.
* testsuite/parse*/*: Some new tests for %{ %}.
* testsuite/build*/*: New tests for -p4.

19 years ago2005-07-26 Martin Hunt <hunt@redhat.com>
hunt [Tue, 26 Jul 2005 21:08:00 +0000 (21:08 +0000)]
2005-07-26  Martin Hunt  <hunt@redhat.com>

* Makefile.am (AM_CPPFLAGS): Set PKGLIBDIR correctly.

19 years ago2005-07-26 Martin Hunt <hunt@redhat.com>
hunt [Tue, 26 Jul 2005 20:59:29 +0000 (20:59 +0000)]
2005-07-26  Martin Hunt  <hunt@redhat.com>

* systemtap.spec.in: Stpd goes in libexec/systemtap.

* Makefile.am (libexecdir): Set to libexecdir/systemtap.

* aclocal.m4, Makefile.in: Regenerated

19 years agoClean up spec file, fix build of bundled elfutils.
roland [Mon, 25 Jul 2005 19:31:42 +0000 (19:31 +0000)]
Clean up spec file, fix build of bundled elfutils.

19 years ago2005-07-25 Roland McGrath <roland@redhat.com>
roland [Mon, 25 Jul 2005 19:30:44 +0000 (19:30 +0000)]
2005-07-25  Roland McGrath  <roland@redhat.com>

* configure.ac: Don't define PKGLIBDIR and PKGDATADIR here.
* Makefile.am (AM_CPPFLAGS): New variable, use -D here instead.
(dist-hook): Don't remove ChangeLog files.
(install-data-local): Don't install docs, just runtime stuff.
(rpm, clean-local): Use make variables instead of @substitution@s.
* configure, config.in, aclocal.m4, Makefile.in: Regenerated

19 years ago2005-07-22 Graydon Hoare <graydon@redhat.com>
graydon [Sat, 23 Jul 2005 02:50:14 +0000 (02:50 +0000)]
2005-07-22  Graydon Hoare  <graydon@redhat.com>

* translate.cxx (itervar): New class.
(*::visit_foreach_loop): Implement.
Various bug fixes.
* staptree.cxx (deep_copy_visitor::*): Copy tok fields.
* elaborate.cxx (lvalue_aware_traversing_visitor):
(mutated_map_collector):
(no_map_mutation_during_iteration_check): New classes.
(semantic_pass_maps): New function to check map usage.
(semantic_pass): Call it.
* testsuite/transok/eight.stp: Test 'foreach' loop translation.
* testsuite/semko/{thirteen,fourteen,fifteen}.stp:
Test prohibited forms of foreach loops.

19 years agoProduce some statistics regarding the time (cpu cycles) in the interrupt handler
cspiraki [Fri, 22 Jul 2005 18:25:28 +0000 (18:25 +0000)]
Produce some statistics regarding the time (cpu cycles) in the interrupt handler

19 years agoNew file.
hunt [Thu, 21 Jul 2005 22:20:43 +0000 (22:20 +0000)]
New file.

19 years ago2005-07-21 Martin Hunt <hunt@redhat.com>
hunt [Thu, 21 Jul 2005 21:15:24 +0000 (21:15 +0000)]
2005-07-21  Martin Hunt  <hunt@redhat.com>

        * Makefile.am (EXTRA_DIST): Add systemtap.spec.
        (install-data-local): Install docs and probes.
        (docs): New target.
        (rpm): New target.

        * configure.ac: Set initial version to 0.1.1.
        (pkglibdir): Set to libexec.

        * Makefile.in: Regenerated.

19 years agoSet HAVE_DOT to NO.
hunt [Thu, 21 Jul 2005 20:43:31 +0000 (20:43 +0000)]
Set HAVE_DOT to NO.

19 years agoAllow clean compile on x86_64 and change output to include process name
cspiraki [Thu, 21 Jul 2005 03:15:12 +0000 (03:15 +0000)]
Allow clean compile on x86_64 and change output to include process name

19 years ago2005-07-20 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 20 Jul 2005 23:51:17 +0000 (23:51 +0000)]
2005-07-20  Graydon Hoare  <graydon@redhat.com>

* elaborate.{cxx,h} (find_array): Remove.
(find_scalar): Rename to find_var, add array support.
* staptree.{cxx,h} (vardecl::compatible_arity): New method.
* translate.cxx: Refactor, add array read/write support.
* testsuite/transok/three.stp: Uncomment array uses.
* testsuite/transok/seven.stp: New test of array r/w.

19 years ago2005-07-20 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 20 Jul 2005 22:17:29 +0000 (22:17 +0000)]
2005-07-20  Frank Ch. Eigler  <fche@redhat.com>

* tapsets.cxx (*::emit_[de]registrations): Add logic for probe
lifecycle control (session_state).
* translate.cxx (emit_common_header,emit_module_{init,exit}): Ditto.
(visit_*): Use per-context errorcount.

19 years ago2005-07-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Jul 2005 18:46:46 +0000 (18:46 +0000)]
2005-07-20  Martin Hunt  <hunt@redhat.com>

        * io.c (_stp_vlog): Don't count transport failures for
        these messages.

19 years ago2005-07-19 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Jul 2005 05:27:45 +0000 (05:27 +0000)]
2005-07-19  Martin Hunt  <hunt@redhat.com>

* print.c (_stp_print_flush): Check return value and increment
transport failures.

19 years agonone
fche [Tue, 19 Jul 2005 18:39:31 +0000 (18:39 +0000)]
none

19 years ago2005-07-19 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 19 Jul 2005 18:35:12 +0000 (18:35 +0000)]
2005-07-19  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (dist-hook): Complete the resulting tarball.
* Makefile.in: Regenerated.

19 years ago2005-07-19 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 19 Jul 2005 18:24:16 +0000 (18:24 +0000)]
2005-07-19  Frank Ch. Eigler  <fche@redhat.com>

* translate.cxx (emit_module_init/exit, translate_pass): Conform
to newer runtime startup/shutdown hooks.

19 years ago2005-07-18 Martin Hunt <hunt@redhat.com>
hunt [Tue, 19 Jul 2005 06:52:14 +0000 (06:52 +0000)]
2005-07-18  Martin Hunt  <hunt@redhat.com>

* transport.h (_stp_transport_write): Call _stp_relay_write().

* transport.c (_stp_cleanup_and_exit): Print transport
failure count.
(_stp_relay_write): Like relay_write() except returns
-1 on error.

19 years ago2005-07-18 Martin Hunt <hunt@redhat.com>
hunt [Tue, 19 Jul 2005 06:28:57 +0000 (06:28 +0000)]
2005-07-18  Martin Hunt  <hunt@redhat.com>

* stp_merge.c (main): Fix dropped count calculation.

19 years ago2005-07-15 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 15 Jul 2005 14:49:59 +0000 (14:49 +0000)]
2005-07-15  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (install-data-local): Correct typo.
* buildrun.cxx (compile_pass): Ditto.
* main.cxx (main): Print errors if passes 4 or 5 fail.

19 years ago2005-07-14 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 14 Jul 2005 21:09:33 +0000 (21:09 +0000)]
2005-07-14  Frank Ch. Eigler  <fche@redhat.com>

* buildrun.cxx (compile_pass, run_pass): Get closer to a working
test_mode.
* translate.cxx (emit_module_init, emit_common_header): Ditto.
(translate_pass): Ditto.

19 years ago2005-07-14 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 14 Jul 2005 21:08:14 +0000 (21:08 +0000)]
2005-07-14  Frank Ch. Eigler  <fche@redhat.com>

* alloc.c (_stp_error): Rename, to avoid name collision with ../io.c.

19 years ago*** empty log message ***
trz [Thu, 14 Jul 2005 21:07:00 +0000 (21:07 +0000)]
*** empty log message ***

19 years agofix unmatched mutex unlock
trz [Thu, 14 Jul 2005 20:58:22 +0000 (20:58 +0000)]
fix unmatched mutex unlock

19 years agoadd forgotten initialization
trz [Thu, 14 Jul 2005 20:53:17 +0000 (20:53 +0000)]
add forgotten initialization

19 years agonone
fche [Thu, 14 Jul 2005 18:50:37 +0000 (18:50 +0000)]
none

19 years ago2005-07-14 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 14 Jul 2005 18:39:00 +0000 (18:39 +0000)]
2005-07-14  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (stpd): Install in $pkglibdir.
(runtime): Copy to $pkgdatadir.
* configure.ac: Pass along pkgdatadir and pkglibdir.
* main.cxx: Default runtime_path from pkgdatadir.
* buildrun.cxx (run_pass): Correct stpd directory.
* Makefile.in, configure, config.in: Regenerated.

19 years ago2005-07-14 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 14 Jul 2005 18:33:29 +0000 (18:33 +0000)]
2005-07-14  Frank Ch. Eigler  <fche@redhat.com>

* builtin_functions.h (printk): Use explicit format string.

19 years ago2005-07-14 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 14 Jul 2005 18:32:49 +0000 (18:32 +0000)]
2005-07-14  Frank Ch. Eigler  <fche@redhat.com>

* stpd.c (main): Pass !quiet mode to init_stp().
* librelay.c (init_relayfs): Be quiet if !print_totals.

19 years ago2005-07-13 Martin Hunt <hunt@redhat.com>
hunt [Wed, 13 Jul 2005 19:37:18 +0000 (19:37 +0000)]
2005-07-13  Martin Hunt  <hunt@redhat.com>

* stpd.c (usage): Fix usage string.

19 years ago2005-07-13 Martin Hunt <hunt@redhat.com>
hunt [Wed, 13 Jul 2005 17:28:28 +0000 (17:28 +0000)]
2005-07-13  Martin Hunt  <hunt@redhat.com>

* librelay.c (init_stp): Change last arg to NULL, not 0.

19 years ago2005-07-12 Martin Hunt <hunt@redhat.com>
hunt [Wed, 13 Jul 2005 06:34:00 +0000 (06:34 +0000)]
2005-07-12  Martin Hunt  <hunt@redhat.com>

* bench/run_bench (do_time): Use ttest instead of "time".
Fix processor computation.

* bench/ttest.c: Like "time.c" except takes an argument
to adjust loop size. Also computes system time + user time
instead of real time. Added a warmup loop to get
consistent results from cpus which adjust speed based on load.

* bench/time.c: Replaced by ttest.c

19 years ago2005-07-12 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 13 Jul 2005 04:47:54 +0000 (04:47 +0000)]
2005-07-12  Graydon Hoare  <graydon@redhat.com>

* elaborate.cxx
(semantic_pass_symbols): Only enter body if non-null.
(semantic_pass_types): Likewise.
(semantic_pass): Pass session to register_standard_tapsets.
* translate.cxx
(builtin_collector): New struct.
(hookup_builtins): New function.
(translate_pass): Only translate functions with bodies.
(c_unparser::emit_common_header): Likewise, and call hookup_builtins.
* tapsets.hh (builtin_function): New class.
(register_standard_tapsets): Change parameter to session.
* tapsets.cc (bultin_function::*): Implement class.
(register_standard_tapsets): Register printk, log, warn.
* testsuite/transok/six.stp: New test.

19 years agonone
fche [Tue, 12 Jul 2005 21:34:04 +0000 (21:34 +0000)]
none

19 years ago2005-07-12 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 12 Jul 2005 21:31:25 +0000 (21:31 +0000)]
2005-07-12  Frank Ch. Eigler  <fche@redhat.com>

* buildrun.cxx (compile_pass): Make non-verbose mode quieter.
(run_pass): Spawn stpd for dirty work.
* Makefile.am: Also build stpd into libexecdir.
* configure.ac: Pass LIBEXECDIR.
* Makefile.in, configure, config.in: Regenerated.
* AUTHORS: Update.

19 years agoFix relayfs.
hunt [Tue, 12 Jul 2005 18:02:39 +0000 (18:02 +0000)]
Fix relayfs.

19 years ago2005-07-11 Martin Hunt <hunt@redhat.com>
hunt [Tue, 12 Jul 2005 00:32:11 +0000 (00:32 +0000)]
2005-07-11  Martin Hunt  <hunt@redhat.com>

* build_probe: Set RELAYFS correctly.

* Makefile.template: Fix for RELAYFS.

* stp: Moved here.  All probes now use this copy.

* ALL/stp: source the master copy of stp.

19 years ago2005-07-11 Graydon Hoare <graydon@redhat.com>
graydon [Mon, 11 Jul 2005 21:47:39 +0000 (21:47 +0000)]
2005-07-11  Graydon Hoare  <graydon@redhat.com>

* staptree.cxx (require): Generally handle null pointers in src.
(deep_copy_visitor::visit_if_statement): Revert fche's change.

19 years ago2005-07-11 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 11 Jul 2005 19:58:00 +0000 (19:58 +0000)]
2005-07-11  Frank Ch. Eigler  <fche@redhat.com>

* parse.cxx (parse_literal): Compile cleanly on 64-bit host.
* staptree.cxx (deep_copy_visitor::visit_if_statement): Don't
freak on a null if_statement.elseblock.

19 years ago2005-07-10 Martin Hunt <hunt@redhat.com>
hunt [Mon, 11 Jul 2005 06:57:26 +0000 (06:57 +0000)]
2005-07-10  Martin Hunt  <hunt@redhat.com>

* runtime.h (init_module): Fix return value.

19 years agoFix build
hunt [Fri, 8 Jul 2005 22:02:12 +0000 (22:02 +0000)]
Fix build

19 years agoUpdate docs
hunt [Fri, 8 Jul 2005 21:07:19 +0000 (21:07 +0000)]
Update docs

19 years ago*** empty log message ***
hunt [Fri, 8 Jul 2005 20:55:07 +0000 (20:55 +0000)]
*** empty log message ***

19 years agoUpdate.
hunt [Fri, 8 Jul 2005 20:54:30 +0000 (20:54 +0000)]
Update.

19 years ago2005-07-08 Martin Hunt <hunt@redhat.com>
hunt [Fri, 8 Jul 2005 20:51:09 +0000 (20:51 +0000)]
2005-07-08  Martin Hunt  <hunt@redhat.com>

* runtime.h: Move some common pieces of modules into this file.
Includes MODULE_LICENSE, cleanup_module and init_module.

19 years ago2005-07-08 Martin Hunt <hunt@redhat.com>
hunt [Fri, 8 Jul 2005 20:49:58 +0000 (20:49 +0000)]
2005-07-08  Martin Hunt  <hunt@redhat.com>

* ALL: Use new runtime.h. Change init_module()
to probe_start() and don't do transport calls.
Remove MODULE_LICENSE and cleanup_module().

19 years agoFix accidently commented-out line.
hunt [Fri, 8 Jul 2005 19:50:46 +0000 (19:50 +0000)]
Fix accidently commented-out line.

19 years ago2005-07-08 Martin Hunt <hunt@redhat.com>
hunt [Fri, 8 Jul 2005 19:49:23 +0000 (19:49 +0000)]
2005-07-08  Martin Hunt  <hunt@redhat.com>

* shellsnoop/shellsnoop.c (init_module): Call _stp_transport_close()
if initialization fails.
(cleanup_module): Call _stp_transport_cleanup().

19 years ago2005-07-08 Martin Hunt <hunt@redhat.com>
hunt [Fri, 8 Jul 2005 19:40:33 +0000 (19:40 +0000)]
2005-07-08  Martin Hunt  <hunt@redhat.com>

* transport.c: Rename pid to _stp_pid.
Rename t to _stp_tport.
(_stp_cleanup_and_exit): New internal function.
(stp_exit_helper): Call _stp_cleanup_and_exit().
(_stp_transport_cleanup): New function.
(_stp_cmd_handler): Remove handler for STP_TRANSPORT_MODE.
The transport now notifies the daemon of the transport.
(_stp_transport_close): No longer calls _stp_exit_helper().
That is done by _stp_transport_cleanup().
(_stp_transport_open): When done, call _stp_handle_transport()
to notify the daemon what our transport is.
(_stp_transport_send): Put a retry limit on sends.

* transport.h: Rename pid to _stp_pid.
(_stp_transport_cleanup): Add prototype.

19 years ago2005-07-08 Martin Hunt <hunt@redhat.com>
hunt [Fri, 8 Jul 2005 19:32:14 +0000 (19:32 +0000)]
2005-07-08  Martin Hunt  <hunt@redhat.com>

* print.c (_stp_print_flush): Rename "t" to "_stp_tport".

* io.c (_stp_vlog): Ditto.

19 years ago2005-07-08 Martin Hunt <hunt@redhat.com>
hunt [Fri, 8 Jul 2005 19:23:33 +0000 (19:23 +0000)]
2005-07-08  Martin Hunt  <hunt@redhat.com>

* librelay.c (sigchld): Signal handler to detect
completion of module loading.
(init_stp): Use fork/exec instead of system() so
we can get async signal of module load success/failure.
(cleanup_and_exit): New function.
(sigproc): If module is not loaded, don't send message to it.
(stp_main_loop): Call cleanup_and_exit() when STP_EXIT
is received. Don't send a request for the transport
mode. The module will send notification to the daemon
when it is ready.

* stpd.c (main): Don't print message until module
is loaded.

19 years ago2005-07-07 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 8 Jul 2005 03:11:36 +0000 (03:11 +0000)]
2005-07-07  Graydon Hoare  <graydon@redhat.com>

* staptree.{h,cxx} (deep_copy_visitor): New visitor.
* elaborate.cxx
(derived_probe::derived_probe):
(alias_expansion_builder::build): Use it.
* testsuite/semok/fifteen.stp: New test which relies on deep copy.

19 years agonone
fche [Thu, 7 Jul 2005 18:46:05 +0000 (18:46 +0000)]
none

19 years ago2005-07-07 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 7 Jul 2005 18:43:36 +0000 (18:43 +0000)]
2005-07-07  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (dist): Package up the source tree, including
testsuite and runtime.
* main.cxx: Use clog instead of cerr for logging messages.
* buildrun.cxx: Ditto.
(compile_pass): Add -Iruntime/user for test mode.
* translate.cxx (*): Commonalize test/real mode output.
* Makefile.in: Regenerated.

19 years agoDemonstrate using an asynchronous probe (the os timer)
cspiraki [Thu, 7 Jul 2005 16:58:36 +0000 (16:58 +0000)]
Demonstrate using an asynchronous probe (the os timer)

19 years ago2005-07-05 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 6 Jul 2005 01:32:09 +0000 (01:32 +0000)]
2005-07-05  Graydon Hoare  <graydon@redhat.com>

* elaborate.{h,cxx}: Revert previous changes.
* tapsets.{h,cxx}: Adapt to verbose as a member of session.
* elaborate.cxx (alias_expansion_builder::build): Avoid copying
locals between alias definition and use.
* testsuite/semok/{twelve,thirteen,fourteen}.stp: New tests.
* staptree.cxx (probe_alias::printsig): Print equals sign.

19 years ago2005-07-05 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 5 Jul 2005 21:27:06 +0000 (21:27 +0000)]
2005-07-05  Frank Ch. Eigler  <fche@redhat.com>

* elaborate.h (systemtap_session): Add more command-line arguments.
* staptree.h (verbose): Bad global, no donut.
* elaborate.cxx: Temporarily disable verbose variable access.
* main.cxx: Support more arguments, build/run passes.  Revamp
temporary file generation and partial-pass output generation.
* tapsets.cxx, translate.cxx: Emit just enough extra punctuation
and fluff to make generated probe pass -Werror.
* buildrun.cxx, buildrun.h: New files for passes 4/5.  Partial
support for build pass, nothing on probe execution yet.
* testsuite/transok/*.stp: Force just -p3, now that -p4/5 exist.
* Makefile.am, Makefile.in: Corresponding changes.

19 years ago2005-07-05 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 5 Jul 2005 20:38:37 +0000 (20:38 +0000)]
2005-07-05  Frank Ch. Eigler  <fche@redhat.com>

* elaborate.h (systemtap_session): Add more command-line arguments.
* staptree.h (verbose): Bad global, no donut.
* elaborate.cxx: Temporarily disable verbose variable access.
* main.cxx: Support more arguments, build/run passes.  Revamp
temporary file generation and partial-pass output generation.
* tapsets.cxx, translate.cxx: Emit just enough extra punctuation
and fluff to make generated probe pass -Werror.
* buildrun.cxx, buildrun.h: New files for passes 4/5.  Partial
support for build pass, nothing on probe execution yet.
* testsuite/transok/*.stp: Force just -p3, now that -p4/5 exist.
* Makefile.am, Makefile.in: Corresponding changes.

19 years ago2005-07-04 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 5 Jul 2005 05:33:56 +0000 (05:33 +0000)]
2005-07-04  Graydon Hoare  <graydon@redhat.com>

* elaborate.h (symresolution_info::current_derived_probe): New field.
(symresolution_info::current_probe): Change type.
* elaborate.cxx (semantic_pass_symbols): Add passes for resolving
locals in pre-derivation base probes and pre-expansion aliases.
(symresolution_info::visit_symbol):
(symresolution_info::find_scalar): Update to match new field.

19 years ago2005-07-01 Martin Hunt <hunt@redhat.com>
hunt [Fri, 1 Jul 2005 19:40:50 +0000 (19:40 +0000)]
2005-07-01  Martin Hunt  <hunt@redhat.com>

* string.c (_stp_string_init): CAll stp_error() on bad
init.

* list.c (_stp_list_clear): Call _stp_warn().

19 years ago2005-07-01 Martin Hunt <hunt@redhat.com>
hunt [Fri, 1 Jul 2005 19:27:52 +0000 (19:27 +0000)]
2005-07-01  Martin Hunt  <hunt@redhat.com>

* Makefile.template (debug): New target.

* build: Support "debug" target.

* build_probe: Ditto.

19 years ago2005-07-01 Martin Hunt <hunt@redhat.com>
hunt [Fri, 1 Jul 2005 19:26:17 +0000 (19:26 +0000)]
2005-07-01  Martin Hunt  <hunt@redhat.com>

* probes.c: Convert all _stp_log() calls to either stp_warn() or
dbug().

* print.c: Comment out dbug()s.

* stat-common.c: Comment out dbug()s.

19 years ago2005-07-01 Martin Hunt <hunt@redhat.com>
hunt [Fri, 1 Jul 2005 19:21:02 +0000 (19:21 +0000)]
2005-07-01  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_map_new): Call _stp_error() on a bad map type.
Comment out dbug()s.

* map-stat.c (_stp_map_new_hstat_log): Call _stp_warn().
(_stp_map_new_hstat_linear): Ditto.

* map-int.c: Comment out dbug()s.

* map-str.c: Comment out dbug()s.

* map-keys.c: Use _stp_warn().  Comment out dbug()s.

19 years ago2005-07-01 Martin Hunt <hunt@redhat.com>
hunt [Fri, 1 Jul 2005 19:05:46 +0000 (19:05 +0000)]
2005-07-01  Martin Hunt  <hunt@redhat.com>

* alloc.c (_stp_alloc): Call _stp_error().
(_stp_valloc): Ditto.

* io.c (_stp_warn): New function.
(_stp_exit): New function.
(_stp_error): New function.
(_stp_dbug): New function.

* runtime.h (dbug): Call _stp_dbug() if DEBUG is defined.

19 years ago2005-07-01 Martin Hunt <hunt@redhat.com>
hunt [Fri, 1 Jul 2005 18:57:52 +0000 (18:57 +0000)]
2005-07-01  Martin Hunt  <hunt@redhat.com>

* librelay.c: Removed the color coding of cpu output.

19 years ago2005-06-27 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 29 Jun 2005 22:42:23 +0000 (22:42 +0000)]
2005-06-27  Graydon Hoare  <graydon@redhat.com>

* staptree.{h,cxx} (probe_alias): New structure.
* parse.{h,cxx} (parser::parse): Parse probes or probe aliases.
(parser::parse_probe): Likewise.
* tapsets.{h,cxx}:
(derived_probe_builder):
(match_key):
(match_node):
(alias_derived_probe): Move from here,
* elaborate.{h,cxx}: to here.
* elaborate.h (systemtap_session::pattern_root): New member.
(register_library_aliases): New function.
* tapsets.cxx: Build one dwarf_derived_probe per target address.

19 years ago2005-06-29 Martin Hunt <hunt@redhat.com>
hunt [Wed, 29 Jun 2005 19:53:05 +0000 (19:53 +0000)]
2005-06-29  Martin Hunt  <hunt@redhat.com>

* map-values.c (_stp_map_add_int64): Fix docs.
* map-str.c: Fix some docs
* map.c: Ditto.
* map.doc: Ditto.

19 years ago2005-06-29 Martin Hunt <hunt@redhat.com>
hunt [Wed, 29 Jun 2005 19:52:01 +0000 (19:52 +0000)]
2005-06-29  Martin Hunt  <hunt@redhat.com>

* current.c (_stp_ret_addr_r): New function.
(_stp_probe_addr): New function.
(_stp_probe_addr_r): New function.

19 years ago*** empty log message ***
hunt [Wed, 29 Jun 2005 18:39:13 +0000 (18:39 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
hunt [Tue, 28 Jun 2005 21:36:23 +0000 (21:36 +0000)]
*** empty log message ***

19 years ago2005-06-28 Martin Hunt <hunt@redhat.com>
hunt [Tue, 28 Jun 2005 21:26:07 +0000 (21:26 +0000)]
2005-06-28  Martin Hunt  <hunt@redhat.com>

* bench/bench_ret.c (inst_sys_write_ret): Fix prototype.

19 years ago*** empty log message ***
hunt [Tue, 28 Jun 2005 21:20:10 +0000 (21:20 +0000)]
*** empty log message ***

19 years ago2005-06-28 Martin Hunt <hunt@redhat.com>
hunt [Tue, 28 Jun 2005 18:04:07 +0000 (18:04 +0000)]
2005-06-28  Martin Hunt  <hunt@redhat.com>

* bench: New probe to do benchmarks.

19 years ago2005-06-28 Martin Hunt <hunt@redhat.com>
hunt [Tue, 28 Jun 2005 17:57:28 +0000 (17:57 +0000)]
2005-06-28  Martin Hunt  <hunt@redhat.com>

* librelay.c (merge_output): Use unlocked stdio
to improve speed.

* stp_merge.c: New file.

* Makefile: Add stp_merge.

19 years ago2005-06-27 Martin Hunt <hunt@redhat.com>
hunt [Mon, 27 Jun 2005 23:28:48 +0000 (23:28 +0000)]
2005-06-27  Martin Hunt  <hunt@redhat.com>

* stpd.c (main): Add new command line arg, "-m"
to disable the per-cpu merging.

* librelay.c (merge_output): Replacement for sort_output().
Efficiently merges per-cpu streams.

19 years agodouble rmmod fix
trz [Mon, 27 Jun 2005 21:44:34 +0000 (21:44 +0000)]
double rmmod fix

19 years ago2005-06-27 Martin Hunt <hunt@redhat.com>
hunt [Mon, 27 Jun 2005 18:07:32 +0000 (18:07 +0000)]
2005-06-27  Martin Hunt  <hunt@redhat.com>

* Doxyfile (PREDEFINED): Added USE_RET_PROBES.

* probes.c (_stp_register_kretprobes): New function.
(_stp_unregister_kretprobes): New function.

19 years ago2005-06-23 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 24 Jun 2005 06:43:09 +0000 (06:43 +0000)]
2005-06-23  Graydon Hoare  <graydon@redhat.com>

* tapsets.cxx
(probe_type): New enum.
(probe_spec): New struct.
(dwarf_derived_probe): Reorganize a bit, interpret .return.
(query_statement): Translate addresses back to module space.
(probe_entry_function_name):
(probe_entry_struct_kprobe_name):
(foreach_dwarf_probe_entry):
(declare_dwarf_kernel_entry):
(deregister_dwarf_kernel_entry):
(register_dwarf_kernel_entry):
(register_dwarf_module):
(declare_dwarf_module_entry):
(deregister_dwarf_module_entry):
(register_dwarf_module_entry): New functions.
(dwarf_derived_probes::emit_probe_entries):
(dwarf_derived_probes::emit_registrations):
(dwarf_derived_probes::emit_deregistrations): Implement.

19 years ago2005-06-23 Martin Hunt <hunt@redhat.com>
hunt [Thu, 23 Jun 2005 14:55:14 +0000 (14:55 +0000)]
2005-06-23  Martin Hunt  <hunt@redhat.com>

* all probes: MOdified to use latest changes to transport.h.

19 years ago2005-06-23 Martin Hunt <hunt@redhat.com>
hunt [Thu, 23 Jun 2005 08:17:26 +0000 (08:17 +0000)]
2005-06-23  Martin Hunt  <hunt@redhat.com>

* transport.h: Move all the transport open stuff here
and provide a convenient macro.

19 years ago2005-06-23 Martin Hunt <hunt@redhat.com>
hunt [Thu, 23 Jun 2005 07:44:27 +0000 (07:44 +0000)]
2005-06-23  Martin Hunt  <hunt@redhat.com>

* control.c: Replace macro DEFINE_SPINLOCK because
some kernels don't have it.

19 years ago2005-06-22 Martin Hunt <hunt@redhat.com>
hunt [Thu, 23 Jun 2005 06:52:46 +0000 (06:52 +0000)]
2005-06-22  Martin Hunt  <hunt@redhat.com>

* runtime.h: Include config.h first then redefine CONFIG_SMP
and NR_CPUS.

19 years agox86 fixes.
hunt [Thu, 23 Jun 2005 06:44:49 +0000 (06:44 +0000)]
x86 fixes.

19 years agoupdated relayfs with latest patches
trz [Wed, 22 Jun 2005 18:57:39 +0000 (18:57 +0000)]
updated relayfs with latest patches

19 years ago2005-06-21 Martin Hunt <hunt@redhat.com>
hunt [Tue, 21 Jun 2005 20:31:27 +0000 (20:31 +0000)]
2005-06-21  Martin Hunt  <hunt@redhat.com>

* build_probe (build): Add relay_flush and relay_switch_subbuf to the
list of undefines to ignore.

19 years ago2005-06-21 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 21 Jun 2005 17:18:11 +0000 (17:18 +0000)]
2005-06-21  Frank Ch. Eigler  <fche@redhat.com>

* config.in, configure: Regenerated.
* tapsets.cxx: Make dwarf code conditional on new elfutils header.

19 years agoAdded merging/sorting of per-cpu data, transport config/selection by probe, etc
trz [Tue, 21 Jun 2005 14:13:01 +0000 (14:13 +0000)]
Added merging/sorting of per-cpu data, transport config/selection by probe, etc

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