]> sourceware.org Git - systemtap.git/log
systemtap.git
19 years agonone
fche [Sat, 3 Sep 2005 18:31:35 +0000 (18:31 +0000)]
none

19 years ago2005-09-03 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 3 Sep 2005 17:24:49 +0000 (17:24 +0000)]
2005-09-03  Frank Ch. Eigler  <fche@elastic.org>

PR 1187 prime
* tapset.cxx (literal_stmt_for_local): Don't automgaically copy
target char*'s to systemtap strings.
* tapset/conversions.stp (user_string, kernel_string): New functions.
* stapfuncs.5.in: Document new functions.

19 years ago2005-09-03 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 3 Sep 2005 16:52:41 +0000 (16:52 +0000)]
2005-09-03  Frank Ch. Eigler  <fche@elastic.org>

PR 1292, by popular request.
* parse.cxx (parse_functiondecl): Allow optional value/param type
declarations.
* stap.1.in: Document this.
* tapset/*.stp: Convert most functions accordingly.
* testsuite/parseok/twelve.stp, semok/seven.stp,
semko/twenty.stp: Test this.

19 years ago2005-09-02 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 2 Sep 2005 22:31:47 +0000 (22:31 +0000)]
2005-09-02  Frank Ch. Eigler  <fche@redhat.com>

* translate.cxx (varlock): Use trylock only for write locks.
(translate_pass): Remove read_trylock macro hack.
(visit_foreach_loop): Remove protective read lock, until PR 1275.
(visit_*): Added many more "last_stmt"-setting expressions in the
output, to improve last_error message locality.

19 years agofix indentation errors in output
fche [Fri, 2 Sep 2005 22:15:13 +0000 (22:15 +0000)]
fix indentation errors in output

19 years ago2005-09-02 Martin Hunt <hunt@redhat.com>
hunt [Fri, 2 Sep 2005 20:37:28 +0000 (20:37 +0000)]
2005-09-02  Martin Hunt  <hunt@redhat.com>

* tapset/logging.stp: Make log() be same as print().

19 years ago2005-09-02 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 2 Sep 2005 17:59:12 +0000 (17:59 +0000)]
2005-09-02  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx: Temporarily rolled back graydon's changes.

19 years ago2005-09-02 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 2 Sep 2005 15:54:18 +0000 (15:54 +0000)]
2005-09-02  Frank Ch. Eigler  <fche@elastic.org>

* tapset/*.stp: Renamed several files to simplify names.

19 years ago2005-09-01 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 2 Sep 2005 01:13:33 +0000 (01:13 +0000)]
2005-09-01  Graydon Hoare  <graydon@redhat.com>

PR systemtap/1244
* testsuite/buildok/eighteen.stp: New test.
* tapsets.cxx (dwflpp::literal_stmt_for_local)
(query_statement, query_inline_instance_info)
(query_func_info, query_srcfile_line, query_cu)
(var_expanding_copy_visitor, visit_target_symbol)
(dwarf_derived_probe): Fix 1244.

19 years ago2005-09-01 Martin Hunt <hunt@redhat.com>
hunt [Thu, 1 Sep 2005 09:36:29 +0000 (09:36 +0000)]
2005-09-01  Martin Hunt  <hunt@redhat.com>

* tapset/builtin_logging.stp: Add print.

19 years ago2005-09-01 Martin Hunt <hunt@redhat.com>
hunt [Thu, 1 Sep 2005 09:09:29 +0000 (09:09 +0000)]
2005-09-01  Martin Hunt  <hunt@redhat.com>

* tapset/context.stp: New file. First cut at some
context info.

19 years ago2005-09-01 Martin Hunt <hunt@redhat.com>
hunt [Thu, 1 Sep 2005 09:01:31 +0000 (09:01 +0000)]
2005-09-01  Martin Hunt  <hunt@redhat.com>

* translate.cxx (emit_probe): Add a call to _stp_print_flush
at the end of each probe.
(translate_pass): Define STP_NUM_STRINGS to be 1 for
a scratch string. Include current.c and stack.c. Don't
define KALLSYMS_LOOKUP_NAME or KALLSYMS_LOOKUP. Remove
references to next_fmt() and stp_dbug().

19 years ago2005-09-01 Martin Hunt <hunt@redhat.com>
hunt [Thu, 1 Sep 2005 08:51:26 +0000 (08:51 +0000)]
2005-09-01  Martin Hunt  <hunt@redhat.com>

* stack.c (_stp_stack_sprint): Add a verbose arg
to pass along to underlying funcs.

19 years ago2005-08-31 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 1 Sep 2005 02:53:53 +0000 (02:53 +0000)]
2005-08-31  Graydon Hoare  <graydon@redhat.com>

PR systemtap/1258
* tapsets.cxx (dwflpp::literal_stmt_for_local):
Support DW_TAG_enumeration_type tag as synonymous with
DW_TAG_base_type.
* loc2c.c (base_byte_size): Likewise.
* testsuite/buildok/seven.stp: Adjust to work on UP kernels.

19 years ago2005-08-31 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 1 Sep 2005 01:53:33 +0000 (01:53 +0000)]
2005-08-31  Graydon Hoare  <graydon@redhat.com>

* tapsets.cxx (dwflpp::iterate_over_srcfile_lines): Correct segv
reported in PR 1270.

19 years agofilling pothole
fche [Wed, 31 Aug 2005 19:57:46 +0000 (19:57 +0000)]
filling pothole

19 years agofunction present
fche [Wed, 31 Aug 2005 19:42:20 +0000 (19:42 +0000)]
function present

19 years ago2005-08-31 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 31 Aug 2005 19:29:55 +0000 (19:29 +0000)]
2005-08-31  Frank Ch. Eigler  <fche@redhat.com>

* translate.cxx (visit_array_in, visit_arrayindex): Use write locks
even for array reads, until PR 1275.
(translate_pass): Add read_trylock -> write_trylock escalation.

19 years ago2005-08-31 Martin Hunt <hunt@redhat.com>
hunt [Wed, 31 Aug 2005 18:45:05 +0000 (18:45 +0000)]
2005-08-31  Martin Hunt  <hunt@redhat.com>

* runtime.h (init_module): Include full prototype
info in function cast to satisfy stap.

19 years ago2005-08-31 Martin Hunt <hunt@redhat.com>
hunt [Wed, 31 Aug 2005 18:24:26 +0000 (18:24 +0000)]
2005-08-31  Martin Hunt  <hunt@redhat.com>

* sym.c (_stp_kallsyms_lookup): Moved to runtime.h.
* stack.c (_stp_kta): Moved to runtime.h.
* runtime.h (init_module): Initialize _stp_kallsyms_lookup
and _stp_kta.
* probes.c (_stp_lookup_name): Replaced by kallsyms_lookup_name().

19 years ago2005-08-31 Martin Hunt <hunt@redhat.com>
hunt [Wed, 31 Aug 2005 18:20:11 +0000 (18:20 +0000)]
2005-08-31  Martin Hunt  <hunt@redhat.com>

* list.c (_stp_copy_argv_from_user): ifdef this function
NEED_STRING_VALS.

19 years ago2005-08-31 Martin Hunt <hunt@redhat.com>
hunt [Wed, 31 Aug 2005 18:18:35 +0000 (18:18 +0000)]
2005-08-31  Martin Hunt  <hunt@redhat.com>

* Makefile.template: Remove KTA, KALLSYMS_LOOKUP,
and KALLSYMS_LOOKUP_NAME

19 years ago2005-08-31 Martin Hunt <hunt@redhat.com>
hunt [Wed, 31 Aug 2005 18:09:52 +0000 (18:09 +0000)]
2005-08-31  Martin Hunt  <hunt@redhat.com>

* emul.h (_stp_kallsyms_lookup): Renamed from kallsyms_lookup.
* runtime.h: Add prototype for exit();
* copy.c: New file. Just some empty functions.

19 years agotest $var dot parsing changes
fche [Wed, 31 Aug 2005 11:33:15 +0000 (11:33 +0000)]
test $var dot parsing changes

19 years ago.
roland [Wed, 31 Aug 2005 03:19:49 +0000 (03:19 +0000)]
.

19 years ago2005-08-30 Roland McGrath <roland@redhat.com>
roland [Wed, 31 Aug 2005 03:19:32 +0000 (03:19 +0000)]
2005-08-30  Roland McGrath  <roland@redhat.com>

* Makefile.am (install-data-local): Use mkdir -p, not -mkdir.
* Makefile.in: Regenerated.

19 years ago.
roland [Wed, 31 Aug 2005 03:14:24 +0000 (03:14 +0000)]
.

19 years ago2005-08-30 Roland McGrath <roland@redhat.com>
roland [Wed, 31 Aug 2005 03:14:16 +0000 (03:14 +0000)]
2005-08-30  Roland McGrath  <roland@redhat.com>

* loc2c-runtime.h (fetch_register, store_register): Rewritten to pass
REGS to dwarf_register_<N> as a macro argument.
[__i386__, __x86_64__]: Update dwarf_register_* macros.
[__i386__] (dwarf_register_4): Define special case for stack pointer.

19 years ago2005-08-30 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 31 Aug 2005 03:05:39 +0000 (03:05 +0000)]
2005-08-30  Graydon Hoare  <graydon@redhat.com>

* tapsets.cxx (dwflpp::literal_stmt_for_local): Handle dwarf
pointer-to-1-byte-means-char case (found in PR 1187)
* parse.cxx (parse_symbol): Eliminate use of "." from target
symbol parser, conflicting with string concatenation operator.
* staptree.h (target_symbol::component_type) Eliminate
comp_struct_pointer_member, since . and -> are considered the
same now.
* staptree.cxx (target_symbol::print): Likewise.
* testsuite/buildok/seventeen.stp: Test solution on PR 1191.
* testsuite/buildok/six.stp: Test working portion of PR 1155.
* testsuite/semko/nineteen.stp: Unresolved portion of PR 1155.

19 years ago2005-08-30 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 30 Aug 2005 17:02:59 +0000 (17:02 +0000)]
2005-08-30  Frank Ch. Eigler  <fche@elastic.org>

PR systemtap/1268
* translator (varlock): Add deadlock detection code.
(emit_common_header): Add a new MAXTRYLOCK configuration macro.

19 years ago2005-08-29 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 30 Aug 2005 04:28:11 +0000 (04:28 +0000)]
2005-08-29  Graydon Hoare  <graydon@redhat.com>

PR translator/1265
* tapsets.cxx
(func_info::decl_file)
(func_info::decl_line)
(inline_instance_info::decl_file)
(inline_instance_info::decl_line): New fields.
(dwflpp::function_srcfile): Remove.
(dwflpp::function_file): Add.
(dwflpp::function_line): Add.
(dwarf_derived_probe::dwarf_derived_probe): Update.
(query_statement): Pass func, file, line through.
(query_inline_instance_info): Likewise.
(query_func_info): Likewise.
(query_srcfile_line): Query statement lines if
statement_str exists, rather than *_info.
(query_dwarf_inline_instance): Extract file and line.
(query_dwarf_func): Likewise.
(query_cu): Pass empty func, file, line, for address-based
queries.

19 years ago2005-08-29 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 30 Aug 2005 02:03:07 +0000 (02:03 +0000)]
2005-08-29  Frank Ch. Eigler  <fche@redhat.com>

* runtest.sh: Tolerate relative $SRCDIR.

19 years ago2005-08-29 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 30 Aug 2005 01:54:44 +0000 (01:54 +0000)]
2005-08-29  Frank Ch. Eigler  <fche@redhat.com>

* stapprobes.5.in, stapfuncs.5.in, stapex.5.in: New man pages.
* stap.1.in: Moved some content out.
* Makefile.am (man_MANS): Add new man pages.
* configure.ac (AC_CONFIG_FILES): Add them.
* systemtap.spec.in: Package them.
* Makefile.in, configure: Regenerated.
* buildrun.cxx (run_pass): Pass "-r" to stpd.
* translate.cxx (emit_common_header): Wrap try/catch around
variable decls, to improve exception particularity.
(visit_literal_number): Emit as unsigned literal, which is
actually a subtle correctness issue.

19 years ago2005-08-29 Martin Hunt <hunt@redhat.com>
hunt [Tue, 30 Aug 2005 00:27:35 +0000 (00:27 +0000)]
2005-08-29  Martin Hunt  <hunt@redhat.com>

* list.c (_stp_copy_argv_from_user): Move to here.
* copy.c (_stp_copy_argv_from_user): Delete.
* runtime.h: Always include copy.h.

19 years ago2005-08-29 Martin Hunt <hunt@redhat.com>
hunt [Mon, 29 Aug 2005 18:49:10 +0000 (18:49 +0000)]
2005-08-29  Martin Hunt  <hunt@redhat.com>

* stpd.c main): Add enable_relayfs flag.
Turn it off with "-r".

19 years agonone
fche [Mon, 29 Aug 2005 14:51:32 +0000 (14:51 +0000)]
none

19 years ago2005-08-28 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 28 Aug 2005 15:21:00 +0000 (15:21 +0000)]
2005-08-28  Frank Ch. Eigler  <fche@redhat.com>

* translate.cxx (visit_target): Make target variable exceptions
more informative.
(literal_stmt_for_local): Improve bad-type exception message.
* translate.cxx (emit_module_init): Include probe point in comments.

19 years ago.
roland [Sat, 27 Aug 2005 20:46:03 +0000 (20:46 +0000)]
.

19 years ago2005-08-27 Roland McGrath <roland@redhat.com>
roland [Sat, 27 Aug 2005 20:45:57 +0000 (20:45 +0000)]
2005-08-27  Roland McGrath  <roland@redhat.com>

* loc2c-test.c (print_type): New function.
(print_vars): Use it.

19 years ago.
roland [Sat, 27 Aug 2005 20:30:37 +0000 (20:30 +0000)]
.

19 years ago2005-08-27 Roland McGrath <roland@redhat.com>
roland [Sat, 27 Aug 2005 20:30:36 +0000 (20:30 +0000)]
2005-08-27  Roland McGrath  <roland@redhat.com>

* loc2c-test.c (paddr, print_vars): New functions.
(main): If given no variable name argument, print out variables.

19 years ago2005-08-26 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 26 Aug 2005 20:47:29 +0000 (20:47 +0000)]
2005-08-26  Graydon Hoare  <graydon@redhat.com>

* translate.cxx: Revert tmp initialization changes.

19 years ago2005-08-26 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 26 Aug 2005 19:41:31 +0000 (19:41 +0000)]
2005-08-26  Graydon Hoare  <graydon@redhat.com>

* parse.cxx (scan): Preserve basic C-ish escapes.
* translate.cxx (c_tmpcounter::declaring): New flag.
(c_tmpcounter::declare_or_init): New helper method.
(c_tmpcounter::visit_*): Use declare_or_init.
(c_unparser::emit_function): Run a tmpcounter to initialize tmps.
(c_unparser::emit_probe): Likewise.
(c_unparser::c_strcpy): Use strlcpy.
(c_unparser::c_strcat): Use strlcat.

19 years agobumped version
fche [Fri, 26 Aug 2005 19:33:07 +0000 (19:33 +0000)]
bumped version

19 years agonone release-0.3
fche [Fri, 26 Aug 2005 18:33:42 +0000 (18:33 +0000)]
none

19 years ago(deref_string): terminate
roland [Thu, 25 Aug 2005 22:49:21 +0000 (22:49 +0000)]
(deref_string): terminate

19 years ago.
roland [Thu, 25 Aug 2005 22:38:11 +0000 (22:38 +0000)]
.

19 years ago2005-08-25 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Aug 2005 22:38:05 +0000 (22:38 +0000)]
2005-08-25  Roland McGrath  <roland@redhat.com>

* loc2c-runtime.h (deref_string): Rewritten using deref.

19 years ago.
roland [Thu, 25 Aug 2005 21:53:52 +0000 (21:53 +0000)]
.

19 years ago2005-08-25 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Aug 2005 21:53:46 +0000 (21:53 +0000)]
2005-08-25  Roland McGrath  <roland@redhat.com>

* Makefile.am (EXTRA_DIST): List .h files explicitly.
Automake really does not like wildcards.
* Makefile.in: Regenerated.

19 years ago2005-08-25 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 25 Aug 2005 20:45:33 +0000 (20:45 +0000)]
2005-08-25  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (docs): Removed target.
* Makefile.in: Regenerated.

19 years agoRegenerated.
roland [Thu, 25 Aug 2005 20:19:12 +0000 (20:19 +0000)]
Regenerated.

19 years ago.
roland [Thu, 25 Aug 2005 20:14:46 +0000 (20:14 +0000)]
.

19 years ago2005-08-25 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Aug 2005 20:14:38 +0000 (20:14 +0000)]
2005-08-25  Roland McGrath  <roland@redhat.com>

* Makefile.am (EXTRA_DIST): Remove directory from wildcard file names.

19 years ago2005-08-24 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 25 Aug 2005 03:22:31 +0000 (03:22 +0000)]
2005-08-24  Graydon Hoare  <graydon@redhat.com>

* tapsets.cxx (dwflpp::literal_stmt_for_local): Fetch pointer types,
array types, strings, from target.

19 years ago.
roland [Thu, 25 Aug 2005 03:01:34 +0000 (03:01 +0000)]
.

19 years ago2005-08-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Aug 2005 03:01:30 +0000 (03:01 +0000)]
2005-08-24  Roland McGrath  <roland@redhat.com>

* loc2c-test.c (handle_variable): Iterate on const_type/volatile_type.

19 years ago(deref_string): prettify
roland [Thu, 25 Aug 2005 01:43:59 +0000 (01:43 +0000)]
(deref_string): prettify

19 years agosilly macro typos
fche [Thu, 25 Aug 2005 01:41:48 +0000 (01:41 +0000)]
silly macro typos

19 years ago.
roland [Thu, 25 Aug 2005 01:15:01 +0000 (01:15 +0000)]
.

19 years ago2005-08-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Aug 2005 01:14:57 +0000 (01:14 +0000)]
2005-08-24  Roland McGrath  <roland@redhat.com>

* loc2c-runtime.h (deref_string): New macro.

19 years ago2005-08-24 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 25 Aug 2005 00:46:38 +0000 (00:46 +0000)]
2005-08-24  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac: Require elfutils 0.114.
* tapsets.cxx: Brought back graydon's changes.
* configure: Regenerated.

19 years ago.
roland [Wed, 24 Aug 2005 22:47:16 +0000 (22:47 +0000)]
.

19 years ago2005-08-24 Roland McGrath <roland@redhat.com>
roland [Wed, 24 Aug 2005 22:47:05 +0000 (22:47 +0000)]
2005-08-24  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Update elfutils requirement.

19 years ago2005-08-24 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 24 Aug 2005 17:37:00 +0000 (17:37 +0000)]
2005-08-24  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (emit_global, emit_module_init): Use 2.6.9-compatible
rwlock initialization.

19 years ago2005-08-24 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 17:08:26 +0000 (17:08 +0000)]
2005-08-24  Martin Hunt  <hunt@redhat.com>

* librelay.c (sigproc): Removed the "Exiting..."
message for now.

19 years ago2005-08-24 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 24 Aug 2005 17:01:52 +0000 (17:01 +0000)]
2005-08-24  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (*::emit_probe_entries): Treat NULL and "" last_errors
both as clean early returns, not errors.
* translate.cxx: Revamp last_error handling logic.  Remove all
"goto out" paths from expression context.
(visit_statement): Handle last_error exit one nesting level at a time.
(visit_return_statement, visit_functioncall): Set/reset last_error="".
(c_tmpcounter::visit_for_loop): New routine.
(c_unparser::visit_foreach, visit_for_loop): Rewrite to properly
support continue/breaks, non-local exits, (foreach) locks.
(emit_global): Emit lock variable.
(varlock ctor, dtor): Lock/unlock global variable.
(varlock_w, varlock_r): New concrete subclasses.  Update all users.
* tapset/builtin_logging.stp (exit): Don't set last_error.
* src/testsuite/buildok/sixteen.stp: New test.

* tapsets.cxx: Temporarily rolled back graydon's changes.

19 years ago2005-08-24 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 16:29:46 +0000 (16:29 +0000)]
2005-08-24  Martin Hunt  <hunt@redhat.com>

* io.c (_stp_vlog): Send warnings and errors to STP_OOB_DATA.

19 years ago2005-08-24 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 16:28:38 +0000 (16:28 +0000)]
2005-08-24  Martin Hunt  <hunt@redhat.com>

* transport_msgs.h (enum): New type, STP_OOB_DATA.

19 years ago2005-08-24 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 16:27:35 +0000 (16:27 +0000)]
2005-08-24  Martin Hunt  <hunt@redhat.com>

* librelay.c (sigproc): Reestablish signal handler so
impatient people don't hit ^C twice and terminate the
program before it saves the data and removes the module.
Also print a message to stderr that it is exiting.
(stp_main_loop): Write OOB data (warnings, errors, etc)
to stderr instead of stdout.
* librelay.h: Write debug info to stderr.
* Makefile: add librelay.h to dependencies.

19 years ago*** empty log message ***
hunt [Wed, 24 Aug 2005 05:07:21 +0000 (05:07 +0000)]
*** empty log message ***

19 years ago2005-08-23 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 04:53:30 +0000 (04:53 +0000)]
2005-08-23  Martin Hunt  <hunt@redhat.com>

* librelay.c (merge_output): Don't add an extra \n.

19 years ago2005-08-23 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 04:46:50 +0000 (04:46 +0000)]
2005-08-23  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_cleanup_and_exit): Remove a 2 second sleep
that should no longer be necessary.

* procfs.c (_stp_write): If the ready queue is not empty
then attempt to grab the last buffer in it and append our data
to it.

19 years ago2005-08-23 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 04:42:45 +0000 (04:42 +0000)]
2005-08-23  Martin Hunt  <hunt@redhat.com>

* runtime.h: Add a prototype for _stp_dbug().

19 years ago2005-08-23 Martin Hunt <hunt@redhat.com>
hunt [Wed, 24 Aug 2005 04:41:41 +0000 (04:41 +0000)]
2005-08-23  Martin Hunt  <hunt@redhat.com>

* librelay.c (read_last_buffers): New function. Directly grab the
last buffers.
(info_pending): Deleted.
(request_last_buffers): Deleted.

19 years ago2005-08-23 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 23 Aug 2005 20:04:05 +0000 (20:04 +0000)]
2005-08-23  Graydon Hoare  <graydon@redhat.com>

* tapsets.cxx: Re-implement dwarf probe-pattern resolution.

19 years agotypo fix
fche [Tue, 23 Aug 2005 15:32:27 +0000 (15:32 +0000)]
typo fix

19 years agoNew benchmark: trans_bench.
hunt [Mon, 22 Aug 2005 22:19:57 +0000 (22:19 +0000)]
New benchmark: trans_bench.

19 years ago2005-08-22 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 22 Aug 2005 19:14:35 +0000 (19:14 +0000)]
2005-08-22  Frank Ch. Eigler  <fche@elastic.org>

PR systemtap/1134
* elaborate.h (module_fds): New member in systemtap_session.
* tapsets.cxx (dwarf_derived_probe ctor): Open /sys/module/$MOD/.text
for the duration of a systemtap session, to lock module in memory.

19 years ago2005-08-22 Martin Hunt <hunt@redhat.com>
hunt [Mon, 22 Aug 2005 19:12:38 +0000 (19:12 +0000)]
2005-08-22  Martin Hunt  <hunt@redhat.com>

* runtime.h (kbug): New dbug macros that calls printk.

19 years ago2005-08-22 Martin Hunt <hunt@redhat.com>
hunt [Mon, 22 Aug 2005 19:10:57 +0000 (19:10 +0000)]
2005-08-22  Martin Hunt  <hunt@redhat.com>

* transport.h: Don't define _stp_transport_write.
* transport.c (_stp_transport_write): Use
_stp_transport_send() when in probe_exit().

19 years ago2005-08-22 Martin Hunt <hunt@redhat.com>
hunt [Mon, 22 Aug 2005 19:06:42 +0000 (19:06 +0000)]
2005-08-22  Martin Hunt  <hunt@redhat.com>

* Makefile (debug): Add debug target.
* librelay.h (dbug): Define.
* librelay.c: Enable some dbug lines.

19 years agonone
fche [Mon, 22 Aug 2005 16:23:57 +0000 (16:23 +0000)]
none

19 years ago2005-08-21 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 21 Aug 2005 12:11:41 +0000 (12:11 +0000)]
2005-08-21  Frank Ch. Eigler  <fche@redhat.com>

PR systemtap/1195, systemtap/1193
* elaborate.cxx (alias_expansion_builder): Set new block token.
* parse.cxx (parse_symbol): Set new target_symbol token.
* runtest.sh: Store more pertinent failure data.
* tapsets.cxx (emit_probe_entries): Rewrite error-handling path.
* translate.cxx (emit_common_header): Goodbye errorcount, hello
last_error & last_stmt.
(c_unparser::visit_statement): New "header" for all other stmts.
(c_assignop, visit_binary_expression): Adapt to last_error.
* tapset/builtin_logging.stp: Adapt to last_error.

2005-08-21  Frank Ch. Eigler  <fche@redhat.com>

* arith.c (*): Adapt to last_error context variable.

19 years agonone
fche [Fri, 19 Aug 2005 22:04:42 +0000 (22:04 +0000)]
none

19 years ago2005-08-19 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 19 Aug 2005 22:01:17 +0000 (22:01 +0000)]
2005-08-19  Frank Ch. Eigler  <fche@elastic.org>

PR systemtap/1213
* translate.cxx (visit_if_statement): Translate else arms.

19 years ago2005-08-19 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 19 Aug 2005 21:50:42 +0000 (21:50 +0000)]
2005-08-19  Frank Ch. Eigler  <fche@elastic.org>

PR systemtap/1209
* tapsets.cxx
* elaborate.cxx (derived_probe_builder): Add get_param function.
* elaborate.h: Declare them.
* tapsets.cxx (dwarf_query::get_*_param): Call them.
(timer_derived_probe, timer_builder): New classes.
(register_standard_tapsets): Register timer.jiffies(N) and friend.
* translate.cxx (translate_pass): #include <linux/timers.h>.
* stap.1.in: Document timer.jiffies(N) probe points.
* testsuite/buildok/fourteen.stp: New test.

2005-08-19  Frank Ch. Eigler  <fche@elastic.org>

* arith.c (_stp_random_pm): New function.

19 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 18:29:21 +0000 (18:29 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_cmd_handler): Remove. This was used by
stp-control.

* procfs.c (_stp_proc_write_cmd): Call schedule_work() instead
of running _stp_exit_handler immediately. Fixes a problem where
the module couldn't exit if all the output buffers were full.
Set .owner for the filesystem entries.

19 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 16:41:47 +0000 (16:41 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* librelay.c (reader_thread): Check the return value for write().

19 years ago2005-08-19 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 19 Aug 2005 15:55:39 +0000 (15:55 +0000)]
2005-08-19  Frank Ch. Eigler  <fche@elastic.org>

* librelay.c (modpath): New global.  Use it for insmod only.
* stpd.c (main): Set both modpath and modname, to support
modules specified by full path name.

19 years ago2005-08-19 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 19 Aug 2005 15:48:51 +0000 (15:48 +0000)]
2005-08-19  Frank Ch. Eigler  <fche@elastic.org>

* elaborate.cxx (find_var): Remove $pid/$tid builtin logic.

19 years agoFix typo.
hunt [Fri, 19 Aug 2005 11:46:52 +0000 (11:46 +0000)]
Fix typo.

19 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:38:43 +0000 (11:38 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* stp_check.in: Remove stp-control.

19 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:37:32 +0000 (11:37 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* runtime.h: Include io.c.

19 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:36:07 +0000 (11:36 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* shellsnoop/shellsnoop.c: Remove STP_NETLINK_ONLY.
* stp: Deleted. Use stpd directly.

19 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:27:04 +0000 (11:27 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* stpd.c (main): Simplify buffer size code.
* librelay.c: Major changes to support procfs instead of netlink.

19 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:23:57 +0000 (11:23 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* transport.h: Remove netlink references.
* transport.c: Remove netlink references. Ifdef relayfs code.
* procfs.c: New file.
* Makefile: Deleted.
* control.c: Deleted.
* control.h: Deleted.
* netlink.c: Deleted.
* netlink.h: Deleted.

19 years ago2005-08-19 Martin Hunt <hunt@redhat.com>
hunt [Fri, 19 Aug 2005 11:11:51 +0000 (11:11 +0000)]
2005-08-19  Martin Hunt  <hunt@redhat.com>

* print.c: Change ifdefs to STP_RELAYFS.
* runtime.h: Ditto.
* io.c (_stp_vlog): Call _stp_write instead of
_stp_ctrl_send.
* Makefile: Don't build stp-control.
* README.doc: Update.
* TODO: Update.

19 years ago.
roland [Thu, 18 Aug 2005 20:27:02 +0000 (20:27 +0000)]
.

19 years ago2005-08-18 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 20:26:54 +0000 (20:26 +0000)]
2005-08-18  Roland McGrath  <roland@redhat.com>

* loc2c.c (c_translate_addressof): Take TYPEDIE instead of TYPEATTR.
* loc2c.h: Update decl.
* loc2c-test.c (handle_variable): Handle DW_TAG_pointer_type target
for fetch.

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