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

18 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.

18 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.

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

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

18 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.

18 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.

18 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().

18 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.

18 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

18 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.

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

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

18 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.

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

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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".

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

18 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.

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

18 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.

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

18 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.

18 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.

18 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.

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

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

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

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

18 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.

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

18 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.

18 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.

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

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

18 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.

18 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.

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

18 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.

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

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

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

18 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.

18 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.

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

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

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

18 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.

18 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.

18 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().

18 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.

18 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.

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

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

18 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.

18 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.

18 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().

18 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.

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

18 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.

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

18 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.

18 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.

18 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.

18 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().

18 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.

18 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.

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

18 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.

18 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.

18 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.

18 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.

18 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.

18 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.

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

18 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.

18 years agoCheck to see if relayfs available via /proc/filesystems.
wcohen [Thu, 18 Aug 2005 19:46:32 +0000 (19:46 +0000)]
Check to see if relayfs available via /proc/filesystems.

18 years agocleanup, unused
fche [Thu, 18 Aug 2005 17:26:00 +0000 (17:26 +0000)]
cleanup, unused

18 years agonone
fche [Thu, 18 Aug 2005 14:46:54 +0000 (14:46 +0000)]
none

18 years ago.
roland [Thu, 18 Aug 2005 08:51:35 +0000 (08:51 +0000)]
.

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

* loc2c.c (struct location): New member `emit_address'.
(alloc_location): Initialize new member from ORIGIN.
(location_from_address): New argument EMIT_ADDRESS.
Initialize new member.
(translate): Use LOC->emit_address hook to format DW_OP_addr constant.
(location_relative): Die if DW_OP_addr is used.
(default_emit_address): New function.
(c_translate_location): New argument EMIT_ADDRESS, pass it down.
Use default_emit_address if argument is null.
* loc2c.h: Update decl.
* loc2c-test.c (handle_variable): Update caller.
* tapsets.cxx (dwflpp::literal_stmt_for_local): Update caller.
(dwflpp::loc2c_emit_address): New static method.

18 years ago.
roland [Thu, 18 Aug 2005 03:42:32 +0000 (03:42 +0000)]
.

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 03:42:24 +0000 (03:42 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

PR systemtap/1197
* loc2c.c (struct location): New members `fail', `fail_arg'.
(alloc_location): New function.  Initialize those members.
(new_synthetic_loc, translate): Use that instead of obstack_alloc.
(location_from_address, location_relative): Likewise.
(FAIL): New macro.  Use it everywhere in place of `error'.
(c_translate_location): Take new args FAIL, FAIL_ARG.
* loc2c.h: Update declaration.
* loc2c-test.c (fail): New function.
(handle_variable): Pass it to c_translate_location.
* tapsets.cxx (dwflpp::loc2c_error): New static method.
(dwflpp::literal_stmt_for_local): Pass it to to c_translate_location.

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 03:41:29 +0000 (03:41 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

PR systemtap/1197
* loc2c.c (struct location): New members `fail', `fail_arg'.
(alloc_location): New function.  Initialize those members.
(new_synthetic_loc, translate): Use that instead of obstack_alloc.
(location_from_address, location_relative): Likewise.
(FAIL): New macro.  Use it everywhere in place of `error'.
* loc2c-test.c (fail): New function.
(handle_variable): Pass it to c_translate_location.
* tapsets.cxx (dwflpp::loc2c_error): New static method.
(dwflpp::literal_stmt_for_local): Pass it to to c_translate_location.

18 years ago.
roland [Thu, 18 Aug 2005 02:47:29 +0000 (02:47 +0000)]
.

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 02:46:22 +0000 (02:46 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

* loc2c.c (c_translate_fetch): Take TYPEDIE instead of TYPEATTR.
(c_translate_store): Likewise.
* loc2c.h: Update decls.
* loc2c-test.c (handle_variable): Update callers.
Look up type, resolve typedefs, and check that it's DW_TAG_base_type.
* tapsets.cxx (dwflpp::literal_stmt_for_local): Likewise.
* loc2c.c (base_byte_size): Add assert on expected DIE tag.
(c_translate_array, c_translate_pointer): Likewise.
* loc2c.h: Amend comments to explicitly state type DIE tags expected.
* loc2c.c: #include "loc2c.h".

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 02:46:17 +0000 (02:46 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

* loc2c.c (c_translate_fetch): Take TYPEDIE instead of TYPEATTR.
(c_translate_store): Likewise.
* loc2c.h: Update decls.
* loc2c-test.c (handle_variable): Update callers.
Look up type, resolve typedefs, and check that it's DW_TAG_base_type.
* tapsets.cxx (dwflpp::literal_stmt_for_local): Likewise.
* loc2c.c (base_byte_size): Add assert on expected DIE tag.
(c_translate_array, c_translate_pointer): Likewise.
* loc2c.h: Amend comments to explicitly state type DIE tags expected.

18 years ago2005-08-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Aug 2005 02:46:10 +0000 (02:46 +0000)]
2005-08-17  Roland McGrath  <roland@redhat.com>

* loc2c.c (c_translate_fetch): Take TYPEDIE instead of TYPEATTR.
(c_translate_store): Likewise.
* loc2c.h: Update decls.
* loc2c-test.c (handle_variable): Update callers.
Look up type, resolve typedefs, and check that it's DW_TAG_base_type.
* tapsets.cxx (dwflpp::literal_stmt_for_local): Likewise.

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