]> sourceware.org Git - systemtap.git/log
systemtap.git
19 years agonone
fche [Mon, 8 Aug 2005 20:23:13 +0000 (20:23 +0000)]
none

19 years ago2005-08-08 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 8 Aug 2005 16:03:38 +0000 (16:03 +0000)]
2005-08-08  Frank Ch. Eigler  <fche@elastic.org>

* stap.1.in: Autoconfify old man page.
* configure.ac: Make it so.
* stap.1: Removed.
* configure, Makefile.in, aclocal.m4: Regenerated.

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

* runtest.sh: Keep around log files from crashed processes,
those whose rc is neither 0 nor 1.

19 years ago2005-08-05 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 5 Aug 2005 19:03:59 +0000 (19:03 +0000)]
2005-08-05  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (query_statement|function|cu|module): Add explicit
nested try/catch, since elfutils iteration seems to block
exception catching.

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

PR translator/1175
* translate.cxx (*): Added unlikely() markers to most emitted error
checks.
(mapvar::get,set): Handle NULL<->"" impedance mismatch.
(itervar::get_key): Ditto.  Use base index=1 for keys.
* testsuite/buildok/one.stp: Extend.  And it runs with -p5 too.
* stap.1: Document use of ";" statament as mechanism for grammar
ambiguity resolution.
* stp_check.in: Set $prefix.
* systemtap.spec.in: Prereq kernel-devel, kernel-debuginfo,
and not tcl.
* tapsets.cxx: Make slightly less verbose.
* translate.cxx

19 years agospread the love
fche [Thu, 4 Aug 2005 12:32:16 +0000 (12:32 +0000)]
spread the love

19 years ago2005-08-03 Martin Hunt <hunt@redhat.com> release-0.2.2
hunt [Thu, 4 Aug 2005 00:02:12 +0000 (00:02 +0000)]
2005-08-03  Martin Hunt  <hunt@redhat.com>

* io.c  (_stp_vlog): Revert previous change for now.
* print.c (_stp_print_flush): Ditto.

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

* transport.c: Comment out a couple printks.

19 years agoalternate entry point
fche [Wed, 3 Aug 2005 23:18:53 +0000 (23:18 +0000)]
alternate entry point

19 years ago2005-08-03 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 3 Aug 2005 22:40:13 +0000 (22:40 +0000)]
2005-08-03  Graydon Hoare  <graydon@redhat.com>

* tapsets.cxx (dwflpp): Fix address calculation logic a bit,
and use prologue-end addresses for function probes.

19 years ago2005-08-03 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 3 Aug 2005 22:14:41 +0000 (22:14 +0000)]
2005-08-03  Frank Ch. Eigler  <fche@redhat.com>

* stap.1: More meat, all stub sections filled.
* elaborate.cxx (visit_assignment): Add numerous missing cases.
* parse.cxx: Parse ".=" operator.
* testsuite/semok/sixteen.stp: Check them.
* main.cxx (usage): Don't show incompletely supported options.

19 years agoAdded buf info tracking, removed buf-full warning
trz [Wed, 3 Aug 2005 21:28:26 +0000 (21:28 +0000)]
Added buf info tracking, removed buf-full warning

19 years agoAdded transport failure message
trz [Wed, 3 Aug 2005 21:12:29 +0000 (21:12 +0000)]
Added transport failure message

19 years ago2005-08-03 Martin Hunt <hunt@redhat.com>
hunt [Wed, 3 Aug 2005 20:32:01 +0000 (20:32 +0000)]
2005-08-03  Martin Hunt  <hunt@redhat.com>

* stp_check.in : Copy sources to /var/cache/systemtap.
* systemtap.spec.in: Install stp_check. Create /var/cache/systemtap
* Makefile.am (install-exec-local): Install stp_check.
* configure.ac, systemtap.spec.in: Version 0.2.2.
* Makefile.in, aclocal.m4, configure: Regenerated.

19 years ago2005-08-03 Martin Hunt <hunt@redhat.com>
hunt [Wed, 3 Aug 2005 19:38:43 +0000 (19:38 +0000)]
2005-08-03  Martin Hunt  <hunt@redhat.com>
* librelay.c (init_stp): Change variable name to eliminate shadow warning.

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

* configure.ac: Add stp_check to AC_CONFIG_FILES.
* stp_check.in : New file.

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

* librelay.c (open_control_channel): Set the receive buffer
to 512K, or the max allowed.

* stpd.c: Remove "-n" subbug option and change "-b" option
so you can specify buffering in different ways. Add a verbose option.
Exec the "stp_check" script.

19 years ago2005-08-03 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 3 Aug 2005 16:54:12 +0000 (16:54 +0000)]
2005-08-03  Frank Ch. Eigler  <fche@elastic.org>

* README: Be more specific about prerequisites.
* tapset/builtin_string.stp: New builtin.
* testsuite/buildok/seven.stp, semko/eighteen.stp: New tests.

19 years ago.
roland [Wed, 3 Aug 2005 13:06:12 +0000 (13:06 +0000)]
.

19 years ago2005-08-03 Roland McGrath <roland@redhat.com>
roland [Wed, 3 Aug 2005 13:05:49 +0000 (13:05 +0000)]
2005-08-03  Roland McGrath  <roland@redhat.com>

* configure.ac, systemtap.spec.in: Version 0.2.1.
* Makefile.in, aclocal.m4, configure: Regenerated.

19 years ago.
roland [Wed, 3 Aug 2005 12:56:52 +0000 (12:56 +0000)]
.

19 years ago2005-08-02 Roland McGrath <roland@redhat.com>
roland [Wed, 3 Aug 2005 12:56:41 +0000 (12:56 +0000)]
2005-08-02  Roland McGrath  <roland@redhat.com>

* loc2c.c (emit_bitfield): Return bool, value from emit_base_fetch.
(c_translate_fetch): Update caller.
(c_translate_pointer): Never ignore emit_base_fetch return value.

19 years ago.
roland [Tue, 2 Aug 2005 21:24:14 +0000 (21:24 +0000)]
.

19 years ago2005-08-02 Roland McGrath <roland@redhat.com>
roland [Tue, 2 Aug 2005 21:23:58 +0000 (21:23 +0000)]
2005-08-02  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in (%install): Remove parameters after %makeinstall.

19 years agombehm grammarianisms
fche [Tue, 2 Aug 2005 18:49:45 +0000 (18:49 +0000)]
mbehm grammarianisms

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

* loc2.c (emit_loc_address): Emit interleaved declaration into
its own nested { } block.
* tapsets.cxx (literal_stmt_for_local): Emit deref_fault block
unconditionally.
* tapset/builtin_hexstring.stp: New builtin.
* testsuite/buildok/six.stp: New test.

19 years ago2005-08-02 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 2 Aug 2005 16:46:43 +0000 (16:46 +0000)]
2005-08-02  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (emit_registrations): Treat module_name="kernel"
as if module_name="".

19 years agonone
fche [Tue, 2 Aug 2005 11:15:26 +0000 (11:15 +0000)]
none

19 years ago2005-08-01 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 2 Aug 2005 03:17:28 +0000 (03:17 +0000)]
2005-08-01  Graydon Hoare  <graydon@redhat.com>

* staptree.{cxx,h} (probe_point::component): Add a ctor.
* tapsets.cxx (dwarf_derived_probe): Synthesize concrete
probe_point for matched pattern.
(dwarf_probe_type)
(dwarf_query::add_kernel_probe)
(dwarf_query::add_module_probe): Remove, they were noise.
(dwflpp::module_name_matches): Don't call get_module_dwarf().

19 years agotypo
fche [Mon, 1 Aug 2005 23:27:38 +0000 (23:27 +0000)]
typo

19 years ago2005-08-01 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 1 Aug 2005 23:23:08 +0000 (23:23 +0000)]
2005-08-01  Frank Ch. Eigler  <fche@redhat.com>

* librelay.c: Correct fwrite api usage.
* all: Correct copyright holder name.

19 years agotypos
fche [Mon, 1 Aug 2005 23:19:48 +0000 (23:19 +0000)]
typos

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

* tapsets.cxx: Support ".return" option for function probe points.
* testuite/buildok/five.stp: Try it.

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

* agg/stat1.c (probe_exit): Remove "static"
* agg/count1.c (probe_exit): Ditto.
* agg/count2.c (probe_exit): Ditto.
* bench/bench_io2.c (probe_exit): Ditto.
* bench/bench_io1.c (probe_exit): Ditto.
* bench/bench.c (probe_exit): Ditto.
* bench/bench_ret.c (probe_exit): Ditto.
* bench/bench_multi.c (probe_exit): Ditto.
* where_func/kprobe_where_funct.c (probe_exit): Ditto.
* test4/test4.c (probe_exit): Ditto.
* tasklet/stp_tasklet.c (probe_exit): Ditto.
* os_timer/os_timer.c (probe_exit): Ditto.
* scf/scf.c (probe_exit): Ditto.

19 years agoRemove "static" from probe_exit declaration.
hunt [Mon, 1 Aug 2005 22:09:32 +0000 (22:09 +0000)]
Remove "static" from probe_exit declaration.

19 years ago2005-08-01 Martin Hunt <hunt@redhat.com>
hunt [Mon, 1 Aug 2005 21:40:52 +0000 (21:40 +0000)]
2005-08-01  Martin Hunt  <hunt@redhat.com>

* librelay.h: Get structs and enums from
../transport/transport_msgs.h  to eliminate duplication.

* librelay.c (send_request): Retry if send fails.
(open_relayfs_files): Use fopen() instead of open() for the
percpu tmpfiles.
(request_last_buffers): Just send cpu number for STP_BUF_INFO request.
(reader_thread): Ditto.
(process_subbufs): Use fwrite_unlocked() instead of write().
(sigchld): Removed.
(init_stp): Go back to using system() instead of fork and exec
to load module. When done, send a TRANSPORT_INFO request.
(cleanup_and_exit): Change parameter to simple flag to
indicate if the module needs removing.
(sigproc): Remove complicated logic and just send STP_EXIT.
(stp_main_loop): When receiving STP_TRANSPORT_INFO, set
the local params and reply with a STP_START.  When
receiving STP_START, there was an error, so cleanup and exit.

* stpd.c (main): Added new options to set number of
buffers and their size.

19 years ago2005-08-01 Martin Hunt <hunt@redhat.com>
hunt [Mon, 1 Aug 2005 21:39:52 +0000 (21:39 +0000)]
2005-08-01  Martin Hunt  <hunt@redhat.com>

* io.c (_stp_vlog): Use _stp_pid instead os _stp_tport->pid.
* print.c (_stp_print_flush): Don't need _stp_tport.
*runtime.h (probe_start): Just call _stp_transport_init().
(probe_exit): Just call _stp_transport_close().

19 years ago2005-08-01 Martin Hunt <hunt@redhat.com>
hunt [Mon, 1 Aug 2005 21:39:14 +0000 (21:39 +0000)]
2005-08-01  Martin Hunt  <hunt@redhat.com>

* control.h: Remove STP commands from here and put in
transport_msgs.

* transport_msgs.h: New file containing the structs and
values for the messages exchanged between stpd and transport.

* transport.h: Moved stuff shared with stpd to transport_msgs.h

* transport.c: Complete rewrite to better handle complicated
initialization involving exchanging data with stpd. Supports
buffer size negotiation and more.

19 years ago2005-08-01 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 1 Aug 2005 19:39:05 +0000 (19:39 +0000)]
2005-08-01  Frank Ch. Eigler  <fche@elastic.org>

* elaborate.cxx (derive_probes, semantic_pass_symbols): Improve
error message specificity.
* translate.cxx (emit_module_init): Compact partial registration
recovery code.
(emit_module_exit): Invert deregistration sequence.
* testsuite/buildok/four.stp: Some module() test case.

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

* elaborate.cxx (derive_probes): Print error if results empty.
* tapsets.cxx (dwflpp_assert): Handle positive RCs, which likely
came from errno.
(dwflpp::setup): Improve missing debug-info messages.
* testsuite/semko/sixteen,seventeen.stp: New tests.
* runtest.sh: Save stdout/stderr of FAIL/XPASS test cases.
* Makefile.am (clean-local): Clean up testsuite/.
* Makefile.in, aclocal.m4: Regenerated.

19 years agomore meat
fche [Sun, 31 Jul 2005 16:01:36 +0000 (16:01 +0000)]
more meat

19 years ago* some more meat
fche [Fri, 29 Jul 2005 22:11:15 +0000 (22:11 +0000)]
* some more meat

19 years ago2005-07-29 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 29 Jul 2005 19:30:20 +0000 (19:30 +0000)]
2005-07-29  Frank Ch. Eigler  <fche@redhat.com>

From Graydon Hoare <graydon@redhat.com:
* tapsets.cxx (var_expanding_copy_visitor): Correct lvalue cases.

19 years ago2005-07-29 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 29 Jul 2005 18:48:38 +0000 (18:48 +0000)]
2005-07-29  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am: Make sure stpd goes into libexec/systemtap/
* Makefile.in: Regenerated.

19 years ago2005-07-29 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 29 Jul 2005 18:18:10 +0000 (18:18 +0000)]
2005-07-29  Frank Ch. Eigler  <fche@redhat.com>

* configure.ac: Fail configure stage if elfutils 0.111+ is not found.
* Makefile.am, elaborate.cxx, tapsets.cxx: Unconditionalize.
* configure, Makefile.in, config.in: Regenerated.

19 years ago.
roland [Fri, 29 Jul 2005 08:37:51 +0000 (08:37 +0000)]
.

19 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:14 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* configure.ac: Add AM_CONDITIONAL definition of HAVE_LIBDW.
* Makefile.am [HAVE_LIBDW] (stap_SOURCES_libdw): New variable.
(stap_SOURCES): Use it, moving loc2c.c there.
* configure, config.in: Regenerated.
* configure.ac: Don't check for libelf.h, not actually #include'd.
Update -ldw check for merged libdwfl+libdw.
(stap_LIBS): New substituted variable.  Set only this, not LIBS,
with -ldw check.
* Makefile.am (stap_LDADD): New variable, use @stap_LIBS@.

19 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:11 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* configure.ac: Add AM_CONDITIONAL definition of HAVE_LIBDW.
* Makefile.am [HAVE_LIBDW] (stap_SOURCES_libdw): New variable.
(stap_SOURCES): Use it, moving loc2c.c there.
* configure, config.in: Regenerated.

19 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:09 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Include %{_datadir}/systemtap/tapset directory.
(%check): Add section, run make check.
* Makefile.am (EXTRA_DIST): Add runtest.sh.
* Makefile.in: Regenerated.

19 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:06 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Include %{_datadir}/systemtap/tapset directory.
(%check): Add section, run make check.
* Makefile.am (EXTRA_DIST): Add runtest.sh.
* Makefile.in: Regenerated.
* systemtap.spec.in: Include man pages.
* Makefile.am (man_MANS): Renamed to dist_man_MANS.
* configure.ac: Add AM_CONDITIONAL definition of HAVE_LIBDW.
* Makefile.am [HAVE_LIBDW] (stap_SOURCES_libdw): New variable.
(stap_SOURCES): Use it, moving loc2c.c there.
* configure, config.in: Regenerated.
* configure.ac: Don't check for libelf.h, not actually #include'd.
Update -ldw check for merged libdwfl+libdw.
(stap_LIBS): New substituted variable.  Set only this, not LIBS,
with -ldw check.
* Makefile.am (stap_LDADD): New variable, use @stap_LIBS@.
* Makefile.am (AM_CPPFLAGS): Use ${pkgdatadir}.
(AM_CFLAGS): Use -W instead of -Wextra, for gcc 3 compatibility.
(stpd_LDFLAGS): Variable removed.
(AM_MAKEFLAGS): Variable removed.

19 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:04 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Include %{_datadir}/systemtap/tapset directory.
(%check): Add section, run make check.
* Makefile.am (EXTRA_DIST): Add runtest.sh.
* Makefile.in: Regenerated.
* systemtap.spec.in: Include man pages.
* Makefile.am (man_MANS): Renamed to dist_man_MANS.
* systemtap.spec.in (LDFLAGS): Punt using $ORIGIN here, just hard-code
%{_libdir}.
(elfutils_version): Bump to 0.111.
[bundled_elfutils]: Don't massage libdwfl.h header any more.

19 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:37:01 +0000 (08:37 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* tapsets.cxx: <libdw.h> -> <elfutils/libdw.h>
* loc2c.c, loc2c.h: Likewise.

19 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:36:58 +0000 (08:36 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* configure.ac: Add AM_CONDITIONAL definition of HAVE_LIBDW.
* Makefile.am [HAVE_LIBDW] (stap_SOURCES_libdw): New variable.
(stap_SOURCES): Use it, moving loc2c.c there.
* configure, config.in: Regenerated.
* tapsets.cxx: <libdw.h> -> <elfutils/libdw.h>
* loc2c.c, loc2c.h: Likewise.

19 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:36:56 +0000 (08:36 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* main.cxx (main): Check return value of system.

19 years ago.
roland [Fri, 29 Jul 2005 08:18:22 +0000 (08:18 +0000)]
.

19 years ago2005-07-29 Roland McGrath <roland@redhat.com>
roland [Fri, 29 Jul 2005 08:18:18 +0000 (08:18 +0000)]
2005-07-29  Roland McGrath  <roland@redhat.com>

* librelay.c (process_subbufs): Use unsigned for I.
(sigproc): Add  __attribute__((unused)) on parameter.
(sigchld): Likewise.  Avoid shadowing global variable name.
(stp_main_loop): Add a cast.

19 years ago2005-07-28 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 29 Jul 2005 02:03:12 +0000 (02:03 +0000)]
2005-07-28  Frank Ch. Eigler  <fche@elastic.org>

* elaborate.cxx (find_var): Correct array dereferencing thinko.

19 years ago2005-07-28 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 29 Jul 2005 01:47:56 +0000 (01:47 +0000)]
2005-07-28  Graydon Hoare  <graydon@redhat.com>

* elaborate.cxx (derived_probe::derived_probe): Accept NULL probe.
* staptree.cxx (provide, require): Move from here...
* staptree.h: to here, and virtualize deep-copy methods.
* translate.cxx
(c_unparser::emit_common_header): Include loc2c-runtime.h
* tapsets.cxx
(dwflpp::iterate_over_modules): Use new, faster getmodules loop.
(dwflpp::literal_stmt_for_local): New method, call loc2c.
(var_expanding_copy_visitor): New struct which expands $-vars.
(dwarf_derived_probe): Rebuild this->body using var expander.
(query_function): Refactor logic a bit for speed.
* loc2c.{c,h}: Copies (with minor changes) of Roland's work
from elfutils CVS.
* Makefile.am (AM_CFLAGS): Set to elfutils-style.
(stap_SOURCES): Add loc2c.c.
* Makefile.in: Regenerate.

2005-07-28  Graydon Hoare  <graydon@redhat.com>

* loc2c-runtime.h: New file from elfutils CVS.

19 years ago2005-07-28 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 28 Jul 2005 22:12:59 +0000 (22:12 +0000)]
2005-07-28  Frank Ch. Eigler  <fche@redhat.com>

* stap.1: Beginnings of a man page.
* Makefile.am: Install it.  Comment out stpd LDADD goodies.
* configure.ac: Futilely complain about non-stpd LIBS.
* Makefile.in, configure.in: Regenerated.
* main.cxx (usage): Remove ARGS from help text, as nothing is
done with these yet.

19 years agoAdd io.c
hunt [Thu, 28 Jul 2005 18:46:16 +0000 (18:46 +0000)]
Add io.c

19 years agoAdd test issii.c
hunt [Thu, 28 Jul 2005 18:45:24 +0000 (18:45 +0000)]
Add test issii.c

19 years ago2005-07-28 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 28 Jul 2005 18:42:58 +0000 (18:42 +0000)]
2005-07-28  Frank Ch. Eigler  <fche@redhat.com>

* translate.cxx: Add "pt_regs*" field to context.
* tapsets.cxx (*): Correct kprobes API interface.
* testsuite/buildok/three.stp: New test, copied from semok.
* Makefile.am (install-data-local): Also install runtime/relayfs,
so scripts can build against headers located thereunder.
* Makefile.in: Regenerated.

19 years ago2005-07-28 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 28 Jul 2005 18:07:02 +0000 (18:07 +0000)]
2005-07-28  Frank Ch. Eigler  <fche@redhat.com>

translator/1120
* main.cxx (main): Preset -R and -I options from environment
variables (if set).  Pass guru mode flags to parser.
* parse.cxx (privileged): New parser operation flag.  Update callers.
(parse_embeddedcode): Throw an error if !privileged.
(parse_functiondecl): Change signature.  Prevent duplicates.
(parse_globals): Ditto.
* parse.h: Corresponding changes.
* tapset/*.stp: Beginnings of real tapset library, to replace
previous builtins.
* tapsets.cxx: Greatly reduce verbose mode output.
* Makefile.am: Install & dist it.
* runtest.sh: Refer to it.
* Makefile.in, aclocal.m4: Regenerated.
* testsuite/*/*.stp: Set guru mode via /bin/sh if needed.
* testusite/*/*ko.stp: Homogenize shell scripts.

19 years ago2005-07-28 Martin Hunt <hunt@redhat.com>
hunt [Thu, 28 Jul 2005 17:35:11 +0000 (17:35 +0000)]
2005-07-28  Martin Hunt  <hunt@redhat.com>

* stp_dump.c: New file.

19 years ago2005-07-28 Martin Hunt <hunt@redhat.com>
hunt [Thu, 28 Jul 2005 17:33:09 +0000 (17:33 +0000)]
2005-07-28  Martin Hunt  <hunt@redhat.com>

* bench/ALL: Chnage to probe sys_getuid() and sys_getgid()
because those aren't used by stpd, unlike sys_read() and sys_write().

19 years ago2005-07-28 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 28 Jul 2005 16:12:38 +0000 (16:12 +0000)]
2005-07-28  Frank Ch. Eigler  <fche@redhat.com>

translator/1120
translator/1123
* elaborate.cxx (semantic_pass_symbols): Print a more helpful
error message around exceptions.
* elaborate.h (systemtap_session): Add guru_mode field.
* main.cxx (main): Initialize it to false.  Add version-sensitive
script library searching.  Add more failure messages.
* tapsets.cxx (dwflpp_assert): Add a decorative text parameter.
Update callers.

19 years ago2005-07-28 Martin Hunt <hunt@redhat.com>
hunt [Thu, 28 Jul 2005 15:56:36 +0000 (15:56 +0000)]
2005-07-28  Martin Hunt  <hunt@redhat.com>

* Makefile.am (install-data-local): Add runtime/transport.
* Makefile.in: regenerated.

19 years ago2005-07-26 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 27 Jul 2005 18:08:45 +0000 (18:08 +0000)]
2005-07-26  Graydon Hoare  <graydon@redhat.com>

* elaborate.cxx: Revert builtin-function code.
* translate.cxx: Likewise.
* tapsets.{h,cxx}: Likewise.

19 years ago2005-07-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 27 Jul 2005 05:52:00 +0000 (05:52 +0000)]
2005-07-26  Martin Hunt  <hunt@redhat.com>

* buildrun.cxx (compile_pass): Add -Wno-unused to CFLAGS because
usually a module doesn't use every function in the runtime.

19 years ago2005-07-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 27 Jul 2005 05:48:11 +0000 (05:48 +0000)]
2005-07-26  Martin Hunt  <hunt@redhat.com>

* Makefile.am (stpd_LDFLAGS): Set rpath correclty because otherwise
automake doesn't seem to get it right when binaries are in libexec subdirs.
(AM_CPPFLAGS): revert.
* systemtap.spec.in (LDFLAGS): Set libexecdir here instead.

19 years ago* same sort of thing
fche [Tue, 26 Jul 2005 22:42:55 +0000 (22:42 +0000)]
* same sort of thing

19 years ago2005-07-26 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 26 Jul 2005 22:40:14 +0000 (22:40 +0000)]
2005-07-26  Frank Ch. Eigler  <fche@redhat.com>

Support %{ embedded-c %}
* staptree.h (embeddedcode): New statement subtype.  Stub support in
visitors.
* staptree.cxx: Ditto.
* parse.cxx: Parse %{ / %}.  Accept "_" as identifier leading char.
(parse_probe): Simplify calling convention.
* elaborate.h: Store embedded code.
* elaborate.cxx: Pass it.
* translate.cxx: Transcribe it.  Return some dropped module init/exit
code.
* Makefile.am: Add buildok/buildko tests.
* Makefile.in: Regenerated.
* main.cxx: Return EXIT_SUCCESS/FAILURE even for weird rc.
* testsuite/parseok/nine.stp: Test _identifiers.
* testsuite/transko/*.stp: Tweak to force -p3 rather than -p2 errors.
* testsuite/semok/transko.stp: ... and keep it that way in the future.
* testsuite/parse*/*: Some new tests for %{ %}.
* testsuite/build*/*: New tests for -p4.

19 years ago2005-07-26 Martin Hunt <hunt@redhat.com>
hunt [Tue, 26 Jul 2005 21:08:00 +0000 (21:08 +0000)]
2005-07-26  Martin Hunt  <hunt@redhat.com>

* Makefile.am (AM_CPPFLAGS): Set PKGLIBDIR correctly.

19 years ago2005-07-26 Martin Hunt <hunt@redhat.com>
hunt [Tue, 26 Jul 2005 20:59:29 +0000 (20:59 +0000)]
2005-07-26  Martin Hunt  <hunt@redhat.com>

* systemtap.spec.in: Stpd goes in libexec/systemtap.

* Makefile.am (libexecdir): Set to libexecdir/systemtap.

* aclocal.m4, Makefile.in: Regenerated

19 years agoClean up spec file, fix build of bundled elfutils.
roland [Mon, 25 Jul 2005 19:31:42 +0000 (19:31 +0000)]
Clean up spec file, fix build of bundled elfutils.

19 years ago2005-07-25 Roland McGrath <roland@redhat.com>
roland [Mon, 25 Jul 2005 19:30:44 +0000 (19:30 +0000)]
2005-07-25  Roland McGrath  <roland@redhat.com>

* configure.ac: Don't define PKGLIBDIR and PKGDATADIR here.
* Makefile.am (AM_CPPFLAGS): New variable, use -D here instead.
(dist-hook): Don't remove ChangeLog files.
(install-data-local): Don't install docs, just runtime stuff.
(rpm, clean-local): Use make variables instead of @substitution@s.
* configure, config.in, aclocal.m4, Makefile.in: Regenerated

19 years ago2005-07-22 Graydon Hoare <graydon@redhat.com>
graydon [Sat, 23 Jul 2005 02:50:14 +0000 (02:50 +0000)]
2005-07-22  Graydon Hoare  <graydon@redhat.com>

* translate.cxx (itervar): New class.
(*::visit_foreach_loop): Implement.
Various bug fixes.
* staptree.cxx (deep_copy_visitor::*): Copy tok fields.
* elaborate.cxx (lvalue_aware_traversing_visitor):
(mutated_map_collector):
(no_map_mutation_during_iteration_check): New classes.
(semantic_pass_maps): New function to check map usage.
(semantic_pass): Call it.
* testsuite/transok/eight.stp: Test 'foreach' loop translation.
* testsuite/semko/{thirteen,fourteen,fifteen}.stp:
Test prohibited forms of foreach loops.

19 years agoProduce some statistics regarding the time (cpu cycles) in the interrupt handler
cspiraki [Fri, 22 Jul 2005 18:25:28 +0000 (18:25 +0000)]
Produce some statistics regarding the time (cpu cycles) in the interrupt handler

19 years agoNew file.
hunt [Thu, 21 Jul 2005 22:20:43 +0000 (22:20 +0000)]
New file.

19 years ago2005-07-21 Martin Hunt <hunt@redhat.com>
hunt [Thu, 21 Jul 2005 21:15:24 +0000 (21:15 +0000)]
2005-07-21  Martin Hunt  <hunt@redhat.com>

        * Makefile.am (EXTRA_DIST): Add systemtap.spec.
        (install-data-local): Install docs and probes.
        (docs): New target.
        (rpm): New target.

        * configure.ac: Set initial version to 0.1.1.
        (pkglibdir): Set to libexec.

        * Makefile.in: Regenerated.

19 years agoSet HAVE_DOT to NO.
hunt [Thu, 21 Jul 2005 20:43:31 +0000 (20:43 +0000)]
Set HAVE_DOT to NO.

19 years agoAllow clean compile on x86_64 and change output to include process name
cspiraki [Thu, 21 Jul 2005 03:15:12 +0000 (03:15 +0000)]
Allow clean compile on x86_64 and change output to include process name

19 years ago2005-07-20 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 20 Jul 2005 23:51:17 +0000 (23:51 +0000)]
2005-07-20  Graydon Hoare  <graydon@redhat.com>

* elaborate.{cxx,h} (find_array): Remove.
(find_scalar): Rename to find_var, add array support.
* staptree.{cxx,h} (vardecl::compatible_arity): New method.
* translate.cxx: Refactor, add array read/write support.
* testsuite/transok/three.stp: Uncomment array uses.
* testsuite/transok/seven.stp: New test of array r/w.

19 years ago2005-07-20 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 20 Jul 2005 22:17:29 +0000 (22:17 +0000)]
2005-07-20  Frank Ch. Eigler  <fche@redhat.com>

* tapsets.cxx (*::emit_[de]registrations): Add logic for probe
lifecycle control (session_state).
* translate.cxx (emit_common_header,emit_module_{init,exit}): Ditto.
(visit_*): Use per-context errorcount.

19 years ago2005-07-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Jul 2005 18:46:46 +0000 (18:46 +0000)]
2005-07-20  Martin Hunt  <hunt@redhat.com>

        * io.c (_stp_vlog): Don't count transport failures for
        these messages.

19 years ago2005-07-19 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Jul 2005 05:27:45 +0000 (05:27 +0000)]
2005-07-19  Martin Hunt  <hunt@redhat.com>

* print.c (_stp_print_flush): Check return value and increment
transport failures.

19 years agonone
fche [Tue, 19 Jul 2005 18:39:31 +0000 (18:39 +0000)]
none

19 years ago2005-07-19 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 19 Jul 2005 18:35:12 +0000 (18:35 +0000)]
2005-07-19  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (dist-hook): Complete the resulting tarball.
* Makefile.in: Regenerated.

19 years ago2005-07-19 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 19 Jul 2005 18:24:16 +0000 (18:24 +0000)]
2005-07-19  Frank Ch. Eigler  <fche@redhat.com>

* translate.cxx (emit_module_init/exit, translate_pass): Conform
to newer runtime startup/shutdown hooks.

19 years ago2005-07-18 Martin Hunt <hunt@redhat.com>
hunt [Tue, 19 Jul 2005 06:52:14 +0000 (06:52 +0000)]
2005-07-18  Martin Hunt  <hunt@redhat.com>

* transport.h (_stp_transport_write): Call _stp_relay_write().

* transport.c (_stp_cleanup_and_exit): Print transport
failure count.
(_stp_relay_write): Like relay_write() except returns
-1 on error.

19 years ago2005-07-18 Martin Hunt <hunt@redhat.com>
hunt [Tue, 19 Jul 2005 06:28:57 +0000 (06:28 +0000)]
2005-07-18  Martin Hunt  <hunt@redhat.com>

* stp_merge.c (main): Fix dropped count calculation.

19 years ago2005-07-15 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 15 Jul 2005 14:49:59 +0000 (14:49 +0000)]
2005-07-15  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (install-data-local): Correct typo.
* buildrun.cxx (compile_pass): Ditto.
* main.cxx (main): Print errors if passes 4 or 5 fail.

19 years ago2005-07-14 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 14 Jul 2005 21:09:33 +0000 (21:09 +0000)]
2005-07-14  Frank Ch. Eigler  <fche@redhat.com>

* buildrun.cxx (compile_pass, run_pass): Get closer to a working
test_mode.
* translate.cxx (emit_module_init, emit_common_header): Ditto.
(translate_pass): Ditto.

19 years ago2005-07-14 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 14 Jul 2005 21:08:14 +0000 (21:08 +0000)]
2005-07-14  Frank Ch. Eigler  <fche@redhat.com>

* alloc.c (_stp_error): Rename, to avoid name collision with ../io.c.

19 years ago*** empty log message ***
trz [Thu, 14 Jul 2005 21:07:00 +0000 (21:07 +0000)]
*** empty log message ***

19 years agofix unmatched mutex unlock
trz [Thu, 14 Jul 2005 20:58:22 +0000 (20:58 +0000)]
fix unmatched mutex unlock

19 years agoadd forgotten initialization
trz [Thu, 14 Jul 2005 20:53:17 +0000 (20:53 +0000)]
add forgotten initialization

19 years agonone
fche [Thu, 14 Jul 2005 18:50:37 +0000 (18:50 +0000)]
none

19 years ago2005-07-14 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 14 Jul 2005 18:39:00 +0000 (18:39 +0000)]
2005-07-14  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.am (stpd): Install in $pkglibdir.
(runtime): Copy to $pkgdatadir.
* configure.ac: Pass along pkgdatadir and pkglibdir.
* main.cxx: Default runtime_path from pkgdatadir.
* buildrun.cxx (run_pass): Correct stpd directory.
* Makefile.in, configure, config.in: Regenerated.

19 years ago2005-07-14 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 14 Jul 2005 18:33:29 +0000 (18:33 +0000)]
2005-07-14  Frank Ch. Eigler  <fche@redhat.com>

* builtin_functions.h (printk): Use explicit format string.

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