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

19 years agoNew probe.
hunt [Tue, 31 May 2005 20:14:03 +0000 (20:14 +0000)]
New probe.

19 years ago*** empty log message ***
hunt [Tue, 31 May 2005 19:58:29 +0000 (19:58 +0000)]
*** empty log message ***

19 years agoadded formatting to _stp_map_print() and updated tests.
hunt [Tue, 31 May 2005 19:56:57 +0000 (19:56 +0000)]
added formatting to _stp_map_print() and updated tests.

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

* map-keys.c: Don't forget to undef KEYSYM, ALLKEYS and ALLKEYSD.

19 years ago2005-05-30 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 30 May 2005 21:28:44 +0000 (21:28 +0000)]
2005-05-30  Frank Ch. Eigler  <fche@redhat.com>

More fully parse & elaborate "expr in array" construct.
* staptree.h (array_in): Make this unary.  Update .cxx to match.
* parse.cxx (parse_array_in): Rewrite.
(parse_symbol_plain): Removed.  Update .h to match.
* elaborate.cxx (typeresolution_info::visit_array_in): New function.
(find_array): Tentatively, accept arity=0.
* translate.cxx (c_unparser::c_assign): New functions to eliminate
much ugly duplication.  Use throughout.
(visit_symbol): Correct function formal argument search.
(c_tmpcounter*::visit): Add missing recursion in several functions.
* testsuite/*: Add new tests for array-in construct.  Add the
first "transok" test.
* Makefile.am: Add transok tests.
* Makefile.in: Regenerated.

19 years ago2005-05-26 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 26 May 2005 23:57:04 +0000 (23:57 +0000)]
2005-05-26  Frank Ch. Eigler  <fche@redhat.com>

* translate.cxx: Traverse trees just for common-header generation,
to emit explicit temp variables into context.  Switch to explicit
"frame" pointer in generated function/probe bodies.  Initialize
locals in function bodies.  Rename "test_unparser" to "c_unparser"
throughout.

19 years ago*** empty log message ***
hunt [Thu, 26 May 2005 17:48:38 +0000 (17:48 +0000)]
*** empty log message ***

19 years agonone
fche [Thu, 26 May 2005 13:53:30 +0000 (13:53 +0000)]
none

19 years ago2005-05-26 Martin Hunt <hunt@redhat.com>
hunt [Thu, 26 May 2005 07:43:25 +0000 (07:43 +0000)]
2005-05-26  Martin Hunt  <hunt@redhat.com>

* current.c (_stp_sprint_regs): Implement for i386.

* sym.c (_stp_symbol_sprint): Check name before trying to
print it.
(_stp_symbol_print): Change to macro that calls _stp_symbol_sprint().

19 years agoDocument generated functions for maps.
hunt [Thu, 26 May 2005 07:21:46 +0000 (07:21 +0000)]
Document generated functions for maps.

19 years agoRemove all the generated html files.
hunt [Thu, 26 May 2005 07:18:22 +0000 (07:18 +0000)]
Remove all the generated html files.

19 years agonone
fche [Wed, 25 May 2005 18:26:03 +0000 (18:26 +0000)]
none

19 years ago2005-05-24 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 24 May 2005 15:03:16 +0000 (15:03 +0000)]
2005-05-24  Frank Ch. Eigler  <fche@redhat.com>

* elaborate.cxx (find_array): Support automagic tapset globals.
* testsuite/semok/nine.stp: Test it ...
* testsuite/semlib/g2.stp: ... using this global array.
* staptree.cxx (stapfile print): List globals.

19 years ago2005-05-24 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 24 May 2005 14:03:31 +0000 (14:03 +0000)]
2005-05-24  Frank Ch. Eigler  <fche@redhat.com>

* testsuite/semlib/*: New tapset library chunks for "-I" testing.
* testsuite/semok/eight.stp, nine.stp: New tests.

19 years ago2005-05-22 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 22 May 2005 22:28:12 +0000 (22:28 +0000)]
2005-05-22  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (gcov): New target to generate test-coverage data from
a testsuite run.
* Makefile.in: Regenerated.

19 years ago* at long last, a more full-bodied snapshot
fche [Sat, 21 May 2005 01:35:34 +0000 (01:35 +0000)]
* at long last, a more full-bodied snapshot
2005-05-20  Frank Ch. Eigler  <fche@redhat.com>

Many changes throughout.  Partial sketch of translation output.
* elaborate.*: Elaboration pass.
* translate.*: Translation pass.
* staptree.*: Simplified for visitor concept.
* main.cxx: Translator mainline.
* *test.cxx: Removed.
* testsuite/*: Some new tests, some changed for newer syntax.

19 years agoAdded MPATH
hunt [Thu, 19 May 2005 07:14:37 +0000 (07:14 +0000)]
Added MPATH

19 years ago * runtime.h: Always include string.c.
hunt [Thu, 19 May 2005 05:52:00 +0000 (05:52 +0000)]
* runtime.h: Always include string.c.

19 years ago2005-05-18 Martin Hunt <hunt@redhat.com>
hunt [Thu, 19 May 2005 05:50:45 +0000 (05:50 +0000)]
2005-05-18  Martin Hunt  <hunt@redhat.com>

* print.c: All functions except _stp_print_flush() are
now macros which use _stp_stdout.

* string.c: Add _stp_stdout support.  Data written to
_stp_stdout is automatically flushed when the print buffer
is full.

19 years agoAdd _stp_stdout.
hunt [Thu, 19 May 2005 05:47:54 +0000 (05:47 +0000)]
Add _stp_stdout.

19 years agoAdd String test files.
hunt [Thu, 19 May 2005 05:25:26 +0000 (05:25 +0000)]
Add String test files.

19 years ago*** empty log message ***
hunt [Thu, 19 May 2005 05:23:11 +0000 (05:23 +0000)]
*** empty log message ***

19 years agoAdd mach path
hunt [Thu, 19 May 2005 05:06:52 +0000 (05:06 +0000)]
Add mach path

19 years agoRenamed to shellsnoop.c. Minor fixes.
hunt [Thu, 19 May 2005 04:33:21 +0000 (04:33 +0000)]
Renamed to shellsnoop.c.  Minor fixes.

19 years ago2005-05-17 Martin Hunt <hunt@redhat.com>
hunt [Wed, 18 May 2005 05:53:03 +0000 (05:53 +0000)]
2005-05-17  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_transport_close): Call stp_exit_helper()
directly instead of using work queue.

19 years ago2005-05-17 Martin Hunt <hunt@redhat.com>
hunt [Wed, 18 May 2005 05:37:14 +0000 (05:37 +0000)]
2005-05-17  Martin Hunt  <hunt@redhat.com>

* relay.c (relay_switch_subbuf): Applied patch
[PATCH 2.6.12-rc1-mm2] relayfs: properly handle oversized events

19 years ago2005-05-17 Martin Hunt <hunt@redhat.com>
hunt [Wed, 18 May 2005 00:25:31 +0000 (00:25 +0000)]
2005-05-17  Martin Hunt  <hunt@redhat.com>

* map.c (needed_space): Use do_div().
(_stp_map_print_histogram): Ditto.
(_stp_map_print): Ditto.

* map-values.c (_stp_map_add_int64_stat): Use do_div() when
computing histogram bucket.

* map-keys.c (_stp_map_key): Fix some warnings on 32-bit machines
by using key_data casts.

19 years agoAdd two new tests. Fix some warnings on i386.
hunt [Wed, 18 May 2005 00:17:55 +0000 (00:17 +0000)]
Add two new tests.  Fix some warnings on i386.

19 years agoUser space test stuff.
hunt [Wed, 18 May 2005 00:16:33 +0000 (00:16 +0000)]
User space test stuff.

19 years agoRewritten maps and other updated files.
hunt [Tue, 17 May 2005 08:02:30 +0000 (08:02 +0000)]
Rewritten maps and other updated files.

19 years agoUpdated for latest runtime.
hunt [Tue, 17 May 2005 07:30:19 +0000 (07:30 +0000)]
Updated for latest runtime.

19 years agoUpdated to work with latest runtime.
hunt [Tue, 17 May 2005 07:12:08 +0000 (07:12 +0000)]
Updated to work with latest runtime.

19 years ago*** empty log message ***
hunt [Tue, 17 May 2005 07:04:25 +0000 (07:04 +0000)]
*** empty log message ***

19 years agoRestructuring of tests. New tests for new maps.
hunt [Tue, 17 May 2005 06:58:05 +0000 (06:58 +0000)]
Restructuring of tests.  New tests for new maps.

19 years agoUse just "make" to build now.
hunt [Tue, 17 May 2005 06:34:34 +0000 (06:34 +0000)]
Use just "make" to build now.
Changed some include paths.

19 years ago2005-05-16 Martin Hunt <hunt@redhat.com>
hunt [Tue, 17 May 2005 06:32:23 +0000 (06:32 +0000)]
2005-05-16  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_cmd_handler): For STP_EXIT, schedule a
work queue to do the exit functions.
(_stp_transport_close): Call work queue for STP_EXIT.
(_stp_transport_send): Call _stp_ctrl_send() like before, except
when in probe_exit().  In that case, keep retrying on send errors
until we succeed.

* transport.h (_stp_transport_write): Change to call
_stp_transport_send() for NETLINK_ONLY.

* Makefile (KDIR): set to /lib/modules/... instead of
/usr/local/src/...

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