]> sourceware.org Git - systemtap.git/log
systemtap.git
18 years ago2005-09-27 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Sep 2005 16:37:36 +0000 (16:37 +0000)]
2005-09-27  Frank Ch. Eigler  <fche@elastic.org>

PR 1368.
* translate.cxx (emit_common_header): Move some MAX* definitions out ...
(translate_pass): ... to here.  Fix probe_start API impedance mismatch.
(emit_module_init, exit): Tolerate registration errors, such as absence
of kretprobes support.

18 years ago2005-09-27 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Sep 2005 14:55:31 +0000 (14:55 +0000)]
2005-09-27  Frank Ch. Eigler  <fche@elastic.org>

PR 1311.
* tapsets.cxx (target_variable_flavour_calculating_visitor::
visit_target_symbol): Print verbose error.
(var_expanding_copy_visitor::visit_target_symbol): Throw
simple error.

18 years ago2005-09-26 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Sep 2005 01:47:05 +0000 (01:47 +0000)]
2005-09-26  Frank Ch. Eigler  <fche@elastic.org>

* stapfuncs.5.in: Extend errno_str verbiage.
* tapset/errno.stp: Canonicalize script code slightly.

18 years ago* quiet down re alias registration
fche [Tue, 27 Sep 2005 01:07:56 +0000 (01:07 +0000)]
* quiet down re alias registration

18 years ago2005-09-26 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Sep 2005 01:06:13 +0000 (01:06 +0000)]
2005-09-26  Frank Ch. Eigler  <fche@elastic.org>

PR 1295.
* tapsets.cxx (resolve_prologue_endings2): Try another heuristic
for end-of-prologue.

2005-09-26  Frank Ch. Eigler  <fche@elastic.org>

PR 1295.
* systemtap.samples/sysopen.*: New test.

18 years agoCV: ----------------------------------------------------------------------
kevinrs [Mon, 26 Sep 2005 22:21:21 +0000 (22:21 +0000)]
CV: ----------------------------------------------------------------------

18 years agoall script equivalent of errno.stp
kevinrs [Mon, 26 Sep 2005 21:44:26 +0000 (21:44 +0000)]
all script equivalent of errno.stp

18 years agoThis function returns the errno string associated with the error code.
kevinrs [Mon, 26 Sep 2005 20:16:45 +0000 (20:16 +0000)]
This function returns the errno string associated with the error code.

18 years agosystem call tapset.
kevinrs [Mon, 26 Sep 2005 17:56:36 +0000 (17:56 +0000)]
system call tapset.

18 years agoremoving unnecessary test
fche [Sat, 24 Sep 2005 12:18:38 +0000 (12:18 +0000)]
removing unnecessary test

18 years agoArch agnostic function to get at return vals until $retval built-in is working.
kevinrs [Sat, 24 Sep 2005 00:01:01 +0000 (00:01 +0000)]
Arch agnostic function to get at return vals until $retval built-in is working.

18 years ago2005-09-23 Martin Hunt <hunt@redhat.com>
hunt [Fri, 23 Sep 2005 08:14:22 +0000 (08:14 +0000)]
2005-09-23  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_map_sortn):  Call _stp_map_sort()
when n is 0.

18 years ago2005-09-23 Martin Hunt <hunt@redhat.com>
hunt [Fri, 23 Sep 2005 07:48:18 +0000 (07:48 +0000)]
2005-09-23  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_cmp): New comparison function for sorts.
(_stp_swap): New swap function for bubble sort.
(_stp_map_sortn): New function.
(_stp_map_sort): New function.
(_stp_map_printn): New function.
(_stp_map_print): Convert to a macro.

18 years ago\18005-09-23 Martin Hunt <hunt@redhat.com>
hunt [Fri, 23 Sep 2005 07:43:28 +0000 (07:43 +0000)]
\18005-09-23  Martin Hunt  <hunt@redhat.com>

* maps/map.test: Add sort results.
* maps/sort.c: New test.

18 years ago* reduce emitted comment noise
fche [Thu, 22 Sep 2005 23:05:03 +0000 (23:05 +0000)]
* reduce emitted comment noise

18 years ago2005-09-22 Graydon Hoare <graydon@redhat.com>,
fche [Thu, 22 Sep 2005 22:51:30 +0000 (22:51 +0000)]
2005-09-22  Graydon Hoare  <graydon@redhat.com>,
Frank Ch. Eigler  <fche@elastic.org>

PR 1330.
* tapsets.cxx (dwarf_derived_probe): Allow multiple probe_point
locations per derived_probe.
(dwarf_query): Add probe "flavour" concept, to reuse probe bodies for
identical flavours across wildcards.
(dwarf::emit_registrations, emit_deregistrations, emit_probe_entries):
Reorganize.
* staptree (probe::printsig): Put multiple locations on separate lines.

18 years ago2005-09-22 Martin Hunt <hunt@redhat.com>
hunt [Thu, 22 Sep 2005 20:14:27 +0000 (20:14 +0000)]
2005-09-22  Martin Hunt  <hunt@redhat.com>

* regs.h: PPC64 version from
Ananth N Mavinakayanahalli <ananth@in.ibm.com>

18 years ago2005-09-22 Martin Hunt <hunt@redhat.com>
hunt [Thu, 22 Sep 2005 20:10:38 +0000 (20:10 +0000)]
2005-09-22  Martin Hunt  <hunt@redhat.com>

* runtime.h (init_module): Only initialize _stp_kta and
_stp_kallsyms_lookup on i386 and x86_64. Define HAS_LOOKUP.

* sym.c (_stp_symbol_sprint): If HAS_LOOKUP is not
defined, just print address in hex.

* current.c (_stp_ret_addr): Add ppc64 version.
(_stp_sprint_regs): PPC64 version from
Ananth N Mavinakayanahalli <ananth@in.ibm.com>

18 years agoMake documentation reflect reality.
wcohen [Thu, 22 Sep 2005 18:53:25 +0000 (18:53 +0000)]
Make documentation reflect reality.

18 years ago2005-09-19 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 19 Sep 2005 20:15:33 +0000 (20:15 +0000)]
2005-09-19  Frank Ch. Eigler  <fche@redhat.com>

* tapsets.cxx (*::emit_probe_entries): Handle busy-count correctly
upon contention.

18 years ago2005-09-14 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 15 Sep 2005 00:43:43 +0000 (00:43 +0000)]
2005-09-14  Graydon Hoare  <graydon@redhat.com>

PR 1260
* tapsets.cxx (dwflpp::resolve_prologue_endings): Correct logic
error triggered by consecutive function-beginning line records.

18 years ago2005-09-14 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 14 Sep 2005 21:31:47 +0000 (21:31 +0000)]
2005-09-14  Frank Ch. Eigler  <fche@elastic.org>

PR 1344
* translate.cxx: Call _stp_map_clear for "delete ARRAY" statement.

2005-09-14  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.samples/pfaults.stp: Complicate to test PR 1344.

18 years ago.
roland [Wed, 14 Sep 2005 21:21:09 +0000 (21:21 +0000)]
.

18 years ago2005-09-14 Roland McGrath <roland@redhat.com>
roland [Wed, 14 Sep 2005 21:21:00 +0000 (21:21 +0000)]
2005-09-14  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Version 0.4.1 cooked.
* systemtap.spec.in: Build runpath into elfutils libs too.

18 years ago2005-09-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Sep 2005 21:13:55 +0000 (21:13 +0000)]
2005-09-14  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_map_clear): New function. CLears a map but
does not free it.

18 years ago2005-09-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Sep 2005 21:12:37 +0000 (21:12 +0000)]
2005-09-14  Martin Hunt  <hunt@redhat.com>

* maps/ii.c (main): Add test for _stp_map_clear().
* maps/map.test: Update results.

18 years agoVersion 0.4.1 cooked.
roland [Wed, 14 Sep 2005 20:58:33 +0000 (20:58 +0000)]
Version 0.4.1 cooked.

18 years agomissed old log commit
roland [Wed, 14 Sep 2005 20:38:21 +0000 (20:38 +0000)]
missed old log commit

18 years ago2005-09-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Sep 2005 18:57:01 +0000 (18:57 +0000)]
2005-09-14  Martin Hunt  <hunt@redhat.com>

* copy.c (__stp_strncpy_from_user): Add ppc64 support.
(_stp_strncpy_from_user): Call access_ok().
(_stp_string_from_user): Ditto.
(_stp_copy_from_user): Ditto.

18 years ago2005-09-14 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 14 Sep 2005 18:14:07 +0000 (18:14 +0000)]
2005-09-14  Frank Ch. Eigler  <fche@elastic.org>

PR 1257
* Makefile.am (AM_CFLAGS): Add -fexceptions.
* loc2c.c (c_translate_location): Invoke *fail properly.
* Makefile.in: Regenerated.

18 years ago2005-09-13 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 14 Sep 2005 00:27:37 +0000 (00:27 +0000)]
2005-09-13  Graydon Hoare  <graydon@redhat.com>

PR 1260
* tapsets.cxx (func_info::func_info): Initialize fields.
(inline_instance_info::inline_instance_info): Likewise.
(query_inline_instance_info): Add try-catch block.
(query_func_info): Likewise, and fault when missing prologue-end.
(query_dwarf_func): Fault when missing entrypc.

18 years ago2005-09-12 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 13 Sep 2005 21:25:25 +0000 (21:25 +0000)]
2005-09-12  Graydon Hoare  <graydon@redhat.com>

PR 1306
* tapsets.cxx (dwflpp::iterate_over_srcfile_lines): Fix two
off-by-one errors in previous change.

18 years ago* removed information about former automagic string conversion
fche [Tue, 13 Sep 2005 15:41:30 +0000 (15:41 +0000)]
* removed information about former automagic string conversion

18 years ago2005-09-12 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 13 Sep 2005 00:45:24 +0000 (00:45 +0000)]
2005-09-12  Frank Ch. Eigler  <fche@elastic.org>

PR 1335
* translate.cxx (c_tmpcounter::visit_functioncall): Correct
recursion sequence.
* testsuite/buildok/nineteen.stp: New test case.

18 years ago2005-09-12 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 13 Sep 2005 00:33:19 +0000 (00:33 +0000)]
2005-09-12  Graydon Hoare  <graydon@redhat.com>

PR 1306
* tapsets.cxx (dwflpp::has_single_line_record): New function.
(dwflpp::iterate_over_srcfile_lines): Throw when user requests
single statement line with multiple records (and provide advice).
(query_cu): Adjust call to match.
(query_srcfile_line): Fix indentation.

18 years ago2005-09-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Sep 2005 20:38:05 +0000 (20:38 +0000)]
2005-09-12  Martin Hunt  <hunt@redhat.com>

* io.c (ERR_STRING): Remove ansi codes.
 (WARN_STRING): Ditto.

18 years ago2005-09-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Sep 2005 20:06:41 +0000 (20:06 +0000)]
2005-09-12  Martin Hunt  <hunt@redhat.com>

* arith.c (_stp_div64): Check for division by 0 or -1 first.
This simplifies things and removes the possibility of x86_64
trying LLONG_MIN/-1 and faulting.
(_stp_mod64): Ditto.

18 years ago2005-09-12 Martin Hunt <hunt@redhat.com>
hunt [Mon, 12 Sep 2005 20:03:09 +0000 (20:03 +0000)]
2005-09-12  Martin Hunt  <hunt@redhat.com>

* math/div64.c (main): Set the expected result for LLONG_MIN/-1 to
be LLONG_MIN (overflow) instead of 0.

2005-09-09  Martin Hunt  <hunt@redhat.com>

* math/div64.c (main): Fixes for running on 64-bit hardware.

* README: Update.
* math/div64.c: New file. 64-bit division tests.

18 years ago2005-09-10 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 10 Sep 2005 16:01:32 +0000 (16:01 +0000)]
2005-09-10  Frank Ch. Eigler  <fche@elastic.org>

* arith.c: Add some comments explaining why the last change works.

18 years ago2005-09-10 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 10 Sep 2005 11:58:34 +0000 (11:58 +0000)]
2005-09-10  Frank Ch. Eigler  <fche@elastic.org>

* Makefile.am, runtest.sh: Use a "testresuilt/" directory in build
tree rather than overloading "testsuite/".
* TODO: Removed obsoleted file.
* Makefile.in: Regenerated.

18 years ago2005-09-09 Roland McGrath <roland@redhat.com>
roland [Fri, 9 Sep 2005 20:43:22 +0000 (20:43 +0000)]
2005-09-09  Roland McGrath  <roland@redhat.com>

* loc2c-runtime.h [__powerpc__] (store_register): Add #undef.

18 years ago2005-09-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Sep 2005 09:34:37 +0000 (09:34 +0000)]
2005-09-09  Martin Hunt  <hunt@redhat.com>

* math/div64.c (main): Fixes for running on 64-bit hardware.

18 years agoFix for jiffies.
hunt [Fri, 9 Sep 2005 09:20:07 +0000 (09:20 +0000)]
Fix for jiffies.

18 years ago2005-09-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Sep 2005 09:12:37 +0000 (09:12 +0000)]
2005-09-09  Martin Hunt  <hunt@redhat.com>

* stat-common.c (_stp_stat_print_valtype): Use _stp_div64().
* arith.c (_stp_div64): Check error before writing to it.
Remove check against 32-bit LONG_MIN and -1. That only
applies to 64-bit.
(_stp_mod64): Ditto.

18 years ago2005-09-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Sep 2005 09:08:26 +0000 (09:08 +0000)]
2005-09-09  Martin Hunt  <hunt@redhat.com>

* README: Update.
* math/div64.c: New file. 64-bit division tests.

18 years ago2005-09-09 Martin Hunt <hunt@redhat.com>
hunt [Fri, 9 Sep 2005 09:03:21 +0000 (09:03 +0000)]
2005-09-09  Martin Hunt  <hunt@redhat.com>

* runtime.h: Add arith.c
* recreate_links: Add arith.c
* emul.h: Define jiffies so arith.c will compile.

18 years ago2005-09-08 Martin Hunt <hunt@redhat.com>
hunt [Thu, 8 Sep 2005 19:13:57 +0000 (19:13 +0000)]
2005-09-08  Martin Hunt  <hunt@redhat.com>
* arith.c (_stp_div64): Check for overflow.
(_stp_mod64): Ditto.

18 years ago2005-09-08 Martin Hunt <hunt@redhat.com>
hunt [Thu, 8 Sep 2005 18:22:52 +0000 (18:22 +0000)]
2005-09-08  Martin Hunt  <hunt@redhat.com>

* arith.c (_stp_div64): For 64-bit cpus, just use native
division. Otherwise call _div64().
(_stp_mod64): Call _mod64() isf necessary.
(_div64): 64-bit division for 32-bit cpus.
(_mod64): 64-bit modulo for 32-bit cpus.

18 years ago2005-09-08 Martin Hunt <hunt@redhat.com>
hunt [Thu, 8 Sep 2005 16:44:31 +0000 (16:44 +0000)]
2005-09-08  Martin Hunt  <hunt@redhat.com>

* procfs.c (_stp_register_procfs): Change ifdefs to eliminate
unused variable warnings.
(_stp_unregister_procfs): Ditto.

18 years ago2005-09-08 Martin Hunt <hunt@redhat.com>
hunt [Thu, 8 Sep 2005 16:42:35 +0000 (16:42 +0000)]
2005-09-08  Martin Hunt  <hunt@redhat.com>

* map-values.c (_stp_map_entry_exists): Remove unused var.

18 years ago2005-09-08 Martin Hunt <hunt@redhat.com>
hunt [Thu, 8 Sep 2005 16:41:04 +0000 (16:41 +0000)]
2005-09-08  Martin Hunt  <hunt@redhat.com>

* scf/scf.c (inst_smp_call_function): Add new verbose arg
to _stp_stack_sprint() call.

18 years agonone
fche [Wed, 7 Sep 2005 20:58:27 +0000 (20:58 +0000)]
none

18 years agobumping version number
fche [Wed, 7 Sep 2005 20:20:20 +0000 (20:20 +0000)]
bumping version number

18 years agobumping version number release-0.4
fche [Wed, 7 Sep 2005 20:16:38 +0000 (20:16 +0000)]
bumping version number

18 years agonone
fche [Wed, 7 Sep 2005 19:29:11 +0000 (19:29 +0000)]
none

18 years ago2005-09-07 Martin Hunt <hunt@redhat.com>
hunt [Wed, 7 Sep 2005 18:50:57 +0000 (18:50 +0000)]
2005-09-07  Martin Hunt  <hunt@redhat.com>

* stap.1.in: Document current "-c" and "-x" options.

18 years ago2005-09-07 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 7 Sep 2005 17:10:01 +0000 (17:10 +0000)]
2005-09-07  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.spec.in: Remove kernel-debuginfo dependency.

18 years ago2005-09-07 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 7 Sep 2005 17:09:11 +0000 (17:09 +0000)]
2005-09-07  Frank Ch. Eigler  <fche@redhat.com>

* main.cxx (main): Choose getpid()-based module names.
* tapsets.cxx: Make timer.jiffies' use of task_pt_regs __i386__-only.

18 years ago2005-09-07 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 7 Sep 2005 14:19:10 +0000 (14:19 +0000)]
2005-09-07  Frank Ch. Eigler  <fche@redhat.com>

* stap.1.in: Oops, && and || do short-circuit.

18 years ago2005-09-06 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 7 Sep 2005 02:16:59 +0000 (02:16 +0000)]
2005-09-06  Frank Ch. Eigler  <fche@elastic.org>

* stap.1.in: Clarify absence of short-circuiting in && and ||.
* translate.cxx (emit_function): Improve "array locals" message.
* tapset/timestamp.stp: Add gettimeofday_us function.  Correct
arithmetic typing in other functions.
* stapfuncs.5.in: Document new function.

18 years ago2005-09-06 Martin Hunt <hunt@redhat.com>
hunt [Tue, 6 Sep 2005 20:19:30 +0000 (20:19 +0000)]
2005-09-06  Martin Hunt  <hunt@redhat.com>

* systemtap.spec.in: Bump elfutils_version to .115.

18 years ago.
roland [Tue, 6 Sep 2005 18:57:19 +0000 (18:57 +0000)]
.

18 years ago2005-09-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Sep 2005 18:57:09 +0000 (18:57 +0000)]
2005-09-05  Roland McGrath  <roland@redhat.com>

* loc2c.h: Comment fix.

18 years ago2005-09-06 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 6 Sep 2005 18:11:41 +0000 (18:11 +0000)]
2005-09-06  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac: Require elfutils 0.115+.
* tapsets.cxx: Restore graydon's PR 1244 code.
* testsuite/buildok/eighteen.stp: Correct typing.
* configure: Regenerated.

18 years agonone
fche [Tue, 6 Sep 2005 18:05:07 +0000 (18:05 +0000)]
none

18 years ago2005-09-06 Martin Hunt <hunt@redhat.com>
hunt [Tue, 6 Sep 2005 17:40:12 +0000 (17:40 +0000)]
2005-09-06  Martin Hunt  <hunt@redhat.com>

* tapset/context.stp: Add function target().
* stapfuncs.5.in (target): Document it.
* elaborate.h (struct systemtap_session): Add cmd and target_pid to
the struct.
* main.cxx (usage): Add secriptions of "-c" and "-x" options.
(main): Set s.cmd and s.target_pid.
* buildrun.cxx (stringify): Copy this utility func here too.
(run_pass): Add new options to set cmd and pid to the stpd
command line.

18 years ago2005-09-06 Martin Hunt <hunt@redhat.com>
hunt [Tue, 6 Sep 2005 17:13:56 +0000 (17:13 +0000)]
2005-09-06  Martin Hunt  <hunt@redhat.com>

* librelay.c: Remove all USE_PROCFS ifdefs.
(sig_usr): Signal handler for SIGUSR1.
(start_cmd): New function to handle "-c" option, forks()
off a new process then waits for SIGUSR1 to exec it.
(init_stp): Call start_cmd().
(stp_main_loop): Set a signal handler for SIGCHLD.

* stpd.c (main): Add "-t" and "-c" options.
(usage): Update with new options.

18 years ago2005-09-06 Martin Hunt <hunt@redhat.com>
hunt [Tue, 6 Sep 2005 17:13:30 +0000 (17:13 +0000)]
2005-09-06  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_handle_start): Always reply to
a start message with STP_START.

18 years ago2005-09-06 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 6 Sep 2005 16:02:50 +0000 (16:02 +0000)]
2005-09-06  Frank Ch. Eigler  <fche@redhat.com>

* tapsets.cxx (emit_probe_entries): Disable fault_handler for now.

18 years ago2005-09-05 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 6 Sep 2005 01:15:24 +0000 (01:15 +0000)]
2005-09-05  Frank Ch. Eigler  <fche@elastic.org>

PR 1289
* translate.cxx (lex_cast_qstring): Correct "cast" of object
to string containing more than one word.
* tapset.cxx (lex_cast_qstring): Ditto.
(dwarf_derived_module::emit_probe_entries): Emit and use
a generic fault_handler.

18 years ago2005-09-05 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 5 Sep 2005 22:00:43 +0000 (22:00 +0000)]
2005-09-05  Frank Ch. Eigler  <fche@elastic.org>

PR 1172.
* staptree.h, staptree.cxx: Make all ::print*(), operator<<
functions take const staptree objects.
(literal_string::print): \-prefix double-quotes.
* translate.cxx (emit_common_header): Add context probe_point field.
Switch to atomic_t busy flags.
(emit_module_exit): Use atomic operations for busy flag.
(visit_*): Use lex_cast_qstring for last_stmt strings.
* tapsets.cxx (lex_cast_quoted): \-prefix double-quotes too.
(*::emit_probe_entries): Populate probe_point.  Use atomic operations
for busy flag.
* tapset/context.stp (pp): New function.
* stapfuncs.5.in: Document it.
* testsuite/buildok/context_test.stp: Test it.

18 years ago2005-09-04 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 5 Sep 2005 00:12:27 +0000 (00:12 +0000)]
2005-09-04  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (visit_literal_string): \-prefix double-quotes.

18 years ago2005-09-04 Martin Hunt <hunt@redhat.com>
hunt [Sun, 4 Sep 2005 09:40:46 +0000 (09:40 +0000)]
2005-09-04  Martin Hunt  <hunt@redhat.com>

* testsuite/buildok/context_test.stp: New test.
* tapset/logging.stp (log): Call _stp_printf().
* stapfuncs.5.in: Add contextinfo funcs.
* tapset/context.stp: Minor cleanup.

18 years agonone
fche [Sat, 3 Sep 2005 18:31:35 +0000 (18:31 +0000)]
none

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

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

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

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

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

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

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

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

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

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

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

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)]
.

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