summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--runtime/ChangeLog4
-rw-r--r--runtime/io.c3
-rw-r--r--tapset/ChangeLog5
-rw-r--r--tapset/logging.stp1
-rw-r--r--translate.cxx2
6 files changed, 16 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 37b6e5b8..2410547b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-15 Frank Ch. Eigler <fche@elastic.org>
+
+ PR 2148
+ * translate.cxx (MAXERRORS): Actually the max should be 0, so first
+ error aborts session.
+
2006-01-13 Frank Ch. Eigler <fche@elastic.org>
* main.cxx (main): Suppress "Try again with -v" message if already
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index e9989806..d3bf202a 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-15 Frank Ch. Eigler <fche@elastic.org>
+
+ * io.c (_stp_exit): Revert.
+
2006-01-10 Martin Hunt <hunt@redhat.com>
* io.c (_stp_exit): set STAP_SESSION_STOPPING.
diff --git a/runtime/io.c b/runtime/io.c
index 5c7a5f10..b72590f3 100644
--- a/runtime/io.c
+++ b/runtime/io.c
@@ -116,9 +116,6 @@ void _stp_warn (const char *fmt, ...)
*/
void _stp_exit (void)
{
-#ifdef SYSTEMTAP
- atomic_set (&session_state, STAP_SESSION_STOPPING);
-#endif
_stp_exit_flag = 1;
}
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 834e3504..0313e589 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,6 +1,9 @@
+2006-01-15 Frank Ch. Eigler <fche@elastic.org>
+
+ * logging.stp: Revert.
+
2006-01-10 Martin Hunt <hunt@redhat.com>
* logging.stp: Don't set STAP_SESSION_STOPPING.
That it done in _stp_exit().
-
diff --git a/tapset/logging.stp b/tapset/logging.stp
index 1164244f..c9c60c8d 100644
--- a/tapset/logging.stp
+++ b/tapset/logging.stp
@@ -21,6 +21,7 @@ function warn (msg:string) %{
// NB: exit() does *not* cause immediate return from current function/probe
function exit () %{
+ atomic_set (&session_state, STAP_SESSION_STOPPING);
_stp_exit ();
%}
diff --git a/translate.cxx b/translate.cxx
index d0b2a882..2b0e44fa 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -3590,7 +3590,7 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#define MAXMAPENTRIES 2048";
s.op->newline() << "#endif";
s.op->newline() << "#ifndef MAXERRORS";
- s.op->newline() << "#define MAXERRORS 1";
+ s.op->newline() << "#define MAXERRORS 0";
s.op->newline() << "#endif";
s.op->newline() << "#ifndef MAXSKIPPED";
s.op->newline() << "#define MAXSKIPPED 100";