summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***hunt2005-06-281-10/+15
|
* 2005-06-28 Martin Hunt <hunt@redhat.com>hunt2005-06-282-7/+3
| | | | * bench/bench_ret.c (inst_sys_write_ret): Fix prototype.
* *** empty log message ***hunt2005-06-281-0/+22
|
* 2005-06-28 Martin Hunt <hunt@redhat.com>hunt2005-06-2812-1/+594
| | | | * bench: New probe to do benchmarks.
* 2005-06-28 Martin Hunt <hunt@redhat.com>hunt2005-06-284-26/+149
| | | | | | | | | * librelay.c (merge_output): Use unlocked stdio to improve speed. * stp_merge.c: New file. * Makefile: Add stp_merge.
* 2005-06-27 Martin Hunt <hunt@redhat.com>hunt2005-06-273-98/+92
| | | | | | | | * 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.
* double rmmod fixtrz2005-06-271-3/+8
|
* 2005-06-27 Martin Hunt <hunt@redhat.com>hunt2005-06-273-2/+55
| | | | | | | * Doxyfile (PREDEFINED): Added USE_RET_PROBES. * probes.c (_stp_register_kretprobes): New function. (_stp_unregister_kretprobes): New function.
* 2005-06-23 Graydon Hoare <graydon@redhat.com>graydon2005-06-242-31/+344
| | | | | | | | | | | | | | | | | | | | | * 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.
* 2005-06-23 Martin Hunt <hunt@redhat.com>hunt2005-06-2311-166/+32
| | | | * all probes: MOdified to use latest changes to transport.h.
* 2005-06-23 Martin Hunt <hunt@redhat.com>hunt2005-06-232-0/+22
| | | | | * transport.h: Move all the transport open stuff here and provide a convenient macro.
* 2005-06-23 Martin Hunt <hunt@redhat.com>hunt2005-06-232-1/+6
| | | | | * control.c: Replace macro DEFINE_SPINLOCK because some kernels don't have it.
* 2005-06-22 Martin Hunt <hunt@redhat.com>hunt2005-06-232-1/+7
| | | | | * runtime.h: Include config.h first then redefine CONFIG_SMP and NR_CPUS.
* x86 fixes.hunt2005-06-232-8/+2
|
* updated relayfs with latest patchestrz2005-06-223-2/+18
|
* 2005-06-21 Martin Hunt <hunt@redhat.com>hunt2005-06-211-0/+2
| | | | | * build_probe (build): Add relay_flush and relay_switch_subbuf to the list of undefines to ignore.
* 2005-06-21 Frank Ch. Eigler <fche@redhat.com>fche2005-06-214-3/+94
| | | | | * config.in, configure: Regenerated. * tapsets.cxx: Make dwarf code conditional on new elfutils header.
* Added merging/sorting of per-cpu data, transport config/selection by probe, etctrz2005-06-2120-328/+668
|
* 2005-06-20 Graydon Hoare <graydon@redhat.com>graydon2005-06-215-35/+900
| | | | | | | | | | | | * 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.
* *** empty log message ***hunt2005-06-181-0/+147
|
* 2005-06-18 Martin Hunt <hunt@redhat.com>hunt2005-06-1825-756/+1423
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* Added aggregation tests. Fixed other for latest runtime changes.hunt2005-06-1816-65/+369
|
* *** empty log message ***hunt2005-06-185-2/+97
|
* 2005-06-18 Martin Hunt <hunt@redhat.com>hunt2005-06-1831-170/+583
| | | | | | | | | | | | | | | | * 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.
* 2005-06-14 Graydon Hoare <graydon@redhat.com>fche2005-06-163-24/+382
| | | | | | | | | | | * 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.
* Initial description of issues related to timestamps and sequence numbers.cspiraki2005-06-161-0/+327
|
* 2005-06-15 Martin Hunt <hunt@redhat.com>hunt2005-06-152-2/+11
| | | | * current.c (_stp_ret_addr): Fix computation for i386.
* 2005-06-14 Martin Hunt <hunt@redhat.com>hunt2005-06-143-0/+109
| | | | | | | | | * README: Removed old docs and replaced with simple build instructions. * Makefile: New file. * probes/build: New file.
* Initial description of the requirements for enablingcspiraki2005-06-141-0/+503
| | | | stopwatch and profiling for systemtap.
* 2005-06-13 Frank Ch. Eigler <fche@redhat.com>fche2005-06-1314-125/+149
| | | | | | | | | | 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.
* 2005-06-08 Frank Ch. Eigler <fche@redhat.com>fche2005-06-0816-310/+642
| | | | | | | | | | | | | | | 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.
* next/return symmetry improvementfche2005-06-053-7/+5
|
* 2005-06-05 Frank Ch. Eigler <fche@elastic.org>fche2005-06-0513-16/+419
| | | | | | | | | | | 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.
* 2005-06-03 Frank Ch. Eigler <fche@elastic.org>fche2005-06-046-32/+51
| | | | | | | * 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.
* 2005-06-03 Frank Ch. Eigler <fche@redhat.com>fche2005-06-0313-103/+252
| | | | | | | | | | | | | * 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.
* 2005-06-03 Frank Ch. Eigler <fche@redhat.com>fche2005-06-035-5/+38
| | | | | | * parse.cxx (scan): Support C and C++ comment styles. * testsuite/parseok/four.stp: Test them some ... * testsuite/parseko/nine.stp: ... and some more.
* nonefche2005-06-022-1/+6
|
* 2005-06-02 Frank Ch. Eigler <fche@redhat.com>fche2005-06-024-43/+68
| | | | | | * translate.cxx (visit_concatenation, visit_binary_expression): New basic implementation. (*): Reduce emitted whitespace and remove `# LINE "FILE"' lines.
* 2005-06-02 Frank Ch. Eigler <fche@redhat.com>fche2005-06-0222-108/+455
| | | | | | | | | | | | | | | | 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 ().
* 2005-06-02 Martin Hunt <hunt@redhat.com>hunt2005-06-023-1/+9
| | | | | | | * string.c (_stp_string_cat_cstr): Be sure result is always terminated. * print.c (_stp_vprintf): Fix typo.
* Simplify Makefiles.hunt2005-06-015-45/+36
|
* 2005-05-31 Martin Hunt <hunt@redhat.com>hunt2005-05-314-38/+193
| | | | | | | | | * 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.
* Updated to use new _stp_map_print().hunt2005-05-312-4/+4
|
* New probe.hunt2005-05-314-0/+158
|
* *** empty log message ***hunt2005-05-312-0/+17
|
* added formatting to _stp_map_print() and updated tests.hunt2005-05-319-55/+232
|
* 2005-05-31 Martin Hunt <hunt@redhat.com>hunt2005-05-312-0/+7
| | | | * map-keys.c: Don't forget to undef KEYSYM, ALLKEYS and ALLKEYSD.
* 2005-05-30 Frank Ch. Eigler <fche@redhat.com>fche2005-05-3015-128/+305
| | | | | | | | | | | | | | | | | 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.
* 2005-05-26 Frank Ch. Eigler <fche@redhat.com>fche2005-05-262-195/+264
| | | | | | | | * 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.
* *** empty log message ***hunt2005-05-261-0/+20
|