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

19 years ago2005-06-20 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 21 Jun 2005 00:55:12 +0000 (00:55 +0000)]
2005-06-20  Graydon Hoare  <graydon@redhat.com>

* configure.ac: Scan for libdwfl.
* staptree.h (verbose): New global.
* main.cxx (usage, main): Implement -v option.
* tapsets.cxx (dwflpp): New struct.
(query_statement): New function.
(query_function): New function.
(query_cu): New function.
(query_module): New function.
(dwarf_derived_probe): Implement primary forms.

19 years ago*** empty log message ***
hunt [Sat, 18 Jun 2005 08:05:34 +0000 (08:05 +0000)]
*** empty log message ***

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

* counter.c: New file. Counter aggregations.

* stat.c: New file. Stat aggregations.

* stat.h: Header file for stats.

* map-int.c: New file. Support for int64 values.

* map-stat.c: New file. Support for stat values.

* map-str.c: New file. Support for string values.

* map-values.c: Now just includes the necessary map-*.c files.

* stat-common.c: New file. Stats stuff common to Stats and maps
containing stats.

* Doxyfile: Bumped version to 0.6.

* README: Renamed README.doc and reorganized.

19 years agoAdded aggregation tests. Fixed other for latest runtime changes.
hunt [Sat, 18 Jun 2005 07:12:41 +0000 (07:12 +0000)]
Added aggregation tests.  Fixed other for latest runtime changes.

19 years ago*** empty log message ***
hunt [Sat, 18 Jun 2005 07:08:58 +0000 (07:08 +0000)]
*** empty log message ***

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

* build: Modified to use build_probe.

* build_probe: New file. This does the work of building
a single probe or set of probes in a directory.

* Makefile.template: New file. Template used by
build_probe to create Makefiles.

* agg: New set of probes to test/demonstrate
Counter and Stat aggregations.

* all probes modified for latest changes and new build
process.

19 years ago2005-06-14 Graydon Hoare <graydon@redhat.com>
fche [Thu, 16 Jun 2005 14:59:17 +0000 (14:59 +0000)]
2005-06-14  Graydon Hoare  <graydon@redhat.com>

* tapsets.h: New file.
(derived_probe_builder): Callback for making derived probes.
(match_key): Component of pattern-matching tree.
(match_node): Other component of pattern-matching tree.
* tapsets.cxx: Add pattern-matching system for probes.
(alias_derived_probe): Skeleton for alias probes.
(dwarf_derived_probe): Skeleton for dwarf probes.
(register_standard_tapsets): Registry for standard tapsets.

19 years agoInitial description of issues related to timestamps and sequence numbers.
cspiraki [Thu, 16 Jun 2005 01:22:13 +0000 (01:22 +0000)]
Initial description of issues related to timestamps and sequence numbers.

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

* current.c (_stp_ret_addr): Fix computation for i386.

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

* README: Removed old docs and replaced with simple build
instructions.

* Makefile: New file.

* probes/build: New file.

19 years agoInitial description of the requirements for enabling
cspiraki [Tue, 14 Jun 2005 02:43:57 +0000 (02:43 +0000)]
Initial description of the requirements for enabling
stopwatch and profiling for systemtap.

19 years ago2005-06-13 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 13 Jun 2005 14:27:49 +0000 (14:27 +0000)]
2005-06-13  Frank Ch. Eigler  <fche@redhat.com>

Start separating out translator-side probe point recognition.
* tapsets.cxx: New file.
(be_derived_probe): Support for begin/end probes.
(derive_probe): Ditto.  Reject anything unrecognized.
* translator.cxx: Move out old code.
* Makefile.am: Add new source file.
* testsuite/semok/*: Switch to begin/end probes only.

19 years ago2005-06-08 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 8 Jun 2005 22:02:09 +0000 (22:02 +0000)]
2005-06-08  Frank Ch. Eigler  <fche@redhat.com>

systemtap/916
Implement all basic scalar operators, including modify-assignment.
* parse.cxx (lexer): Allow multi-character lookahead in order to
scan 1/2/3-character operators.
(parse_boolean_or/and/xor/shift): New routines.
* translate.cxx (visit_assignment, visit_binary_expression,
visit_*_crement): Generally rewrote.
(visit_*): Added more parentheses in output.
(emit_module_init): Initialize globals.
* staptree.h, elaborate.cxx, elaborate.h: Remove exponentiation.
* main.cxx (main): Add an end-of-line to output file.
* testsuite/*: Several new tests.

19 years agonext/return symmetry improvement
fche [Sun, 5 Jun 2005 16:41:48 +0000 (16:41 +0000)]
next/return symmetry improvement

19 years ago2005-06-05 Frank Ch. Eigler <fche@elastic.org>
fche [Sun, 5 Jun 2005 16:35:28 +0000 (16:35 +0000)]
2005-06-05  Frank Ch. Eigler  <fche@elastic.org>

Implement for/next/continue/break/while statements.
* staptree.h: Declare new 0-arity statement types.  Tweak for_loop.
* parse.cxx: Parse them all.
* translate.cxx (c_unparser): Maintain break/continue label stack.
(visit_for_loop, *_statement): New implementations.
* elaborate.*, staptree.cxx: Mechanical changes.
* testsuite/parseok/ten.stp, semko/twelve.stp, transko/two.stp,
transok/five.stp: New tests.

19 years ago2005-06-03 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 4 Jun 2005 02:35:18 +0000 (02:35 +0000)]
2005-06-03  Frank Ch. Eigler  <fche@elastic.org>

* elaborate.cxx (find_*): Remove arity checks from here ...
* staptree.cxx (set_arity): Put arity match assertion here.
* testsuite/semko/{six,nine}.stp: Confirm logic.
* testsuite/transko/one.stp: First translation-time ko test.

19 years ago2005-06-03 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 3 Jun 2005 21:01:35 +0000 (21:01 +0000)]
2005-06-03  Frank Ch. Eigler  <fche@redhat.com>

* TODO: Removed entries already represented in bugzilla.
* elaborate.cxx: Rewrite type inference for several operators.
* main.cxx (main): For -p2 runs, print types of function/probe locals.
* parse.cxx (scan): Identify more two-character operators.
(parse_comparison): Support the whole suite.
* translate.cxx (visit_unary_expression, logical_or_expr,
logical_and_expr, comparison,ternary_expression): New support.
* testsuite/parseok/semok.stp: Clever new test.
* testsuite/transok/four.stp: New test.
* testsuite/*: Some tweaked tests for syntax changes.

19 years ago2005-06-03 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 3 Jun 2005 15:54:47 +0000 (15:54 +0000)]
2005-06-03  Frank Ch. Eigler  <fche@redhat.com>

* parse.cxx (scan): Support C and C++ comment styles.
* testsuite/parseok/four.stp: Test them some ...
* testsuite/parseko/nine.stp: ... and some more.

19 years agonone
fche [Thu, 2 Jun 2005 21:10:49 +0000 (21:10 +0000)]
none

19 years ago2005-06-02 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 2 Jun 2005 21:08:44 +0000 (21:08 +0000)]
2005-06-02  Frank Ch. Eigler  <fche@redhat.com>

* translate.cxx (visit_concatenation, visit_binary_expression):
New basic implementation.
(*): Reduce emitted whitespace and remove `# LINE "FILE"' lines.

19 years ago2005-06-02 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 2 Jun 2005 19:43:55 +0000 (19:43 +0000)]
2005-06-02  Frank Ch. Eigler  <fche@redhat.com>

Parse foreach construct.  Added fuller copyright notices throughout.
* staptree.h (foreach_loop): New tree node type.
* staptree.cxx: Print it, visit it, love it, leave it.
* parse.cxx: Parse it.
(parse_stmt_block): Don't require ";" separators between statements.
(parse_array_in): Use [] as index group operator instead of ().
* elaborate.cxx (visit_foreach_loop): New code.
* translate.cxx: Slightly tighten errorcount/actioncount handling.
* main.cxx: Accept "-" as script file name standing for stdin.
(visit_arrayindex): Switch to simpler set_arity call.
* configure.ac: Generate DATE macro.
* Makefile.in, configure, config.in: Regenerated.
* testsuite/*: New/updated tests for syntax changes, foreach ().

19 years ago2005-06-02 Martin Hunt <hunt@redhat.com>
hunt [Thu, 2 Jun 2005 15:39:06 +0000 (15:39 +0000)]
2005-06-02  Martin Hunt  <hunt@redhat.com>

* string.c (_stp_string_cat_cstr): Be sure result is
always terminated.

* print.c (_stp_vprintf): Fix typo.

19 years agoSimplify Makefiles.
hunt [Wed, 1 Jun 2005 06:10:35 +0000 (06:10 +0000)]
Simplify Makefiles.

19 years ago2005-05-31 Martin Hunt <hunt@redhat.com>
hunt [Tue, 31 May 2005 20:26:38 +0000 (20:26 +0000)]
2005-05-31  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_map_print): Now takes a format string instead of a name.

* map.h (foreach): Update macro.

* string.c (_stp_string_cat_char): New function.  Append a char
to a string.

19 years agoUpdated to use new _stp_map_print().
hunt [Tue, 31 May 2005 20:19:47 +0000 (20:19 +0000)]
Updated to use new _stp_map_print().

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