summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.am2
-rw-r--r--Makefile.in2
-rw-r--r--buildrun.cxx2
-rw-r--r--tapset/ChangeLog5
-rw-r--r--tapset/README7
6 files changed, 21 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a7baf93d..eff3312d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-02 Frank Ch. Eigler <fche@elastic.org>
+
+ * Makefile.am: Install tapset/README too.
+ * Makefile.in: Regenerated.
+
2006-11-01 Josh Stone <joshua.i.stone@intel.com>
* tapsets.cxx (timer_derived_probe_group::emit_interval): New -
diff --git a/Makefile.am b/Makefile.am
index 72a78608..e810590b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,7 +81,7 @@ install-data-local:
do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/transport/$$f; done)
(cd $(srcdir)/runtime/relayfs; find . -name '*.[ch]' -print \
| while read f; do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/relayfs/$$f; done)
- (cd $(srcdir)/tapset; find . -name '*.stp' -print \
+ (cd $(srcdir)/tapset; find . \( -name '*.stp' -o -name README \) -print \
| while read f; do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/tapset/$$f; done)
TEST_COV_DIR = coverage
diff --git a/Makefile.in b/Makefile.in
index ee174e9c..8f1e88c6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1212,7 +1212,7 @@ install-data-local:
do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/transport/$$f; done)
(cd $(srcdir)/runtime/relayfs; find . -name '*.[ch]' -print \
| while read f; do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/runtime/relayfs/$$f; done)
- (cd $(srcdir)/tapset; find . -name '*.stp' -print \
+ (cd $(srcdir)/tapset; find . \( -name '*.stp' -o -name README \) -print \
| while read f; do $(INSTALL_DATA) -D $$f $(DESTDIR)$(pkgdatadir)/tapset/$$f; done)
gcov:
diff --git a/buildrun.cxx b/buildrun.cxx
index fe499e1e..969ba352 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -83,6 +83,8 @@ compile_pass (systemtap_session& s)
// Assumes linux 2.6 kbuild
o << "CFLAGS += -Wno-unused -Werror" << endl;
o << "CFLAGS += -I\"" << s.runtime_path << "\"" << endl;
+ // XXX: this may help ppc toc overflow
+ // o << "CFLAGS := $(subst -Os,-O2,$(CFLAGS)) -fminimal-toc" << endl;
o << "obj-m := " << s.module_name << ".o" << endl;
o.close ();
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 1e16c223..32aee13b 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,4 +1,9 @@
+2006-11-02 Frank Ch. Eigler <fche@elastic.org>
+
+ * README: Add a blurb against running these scripts directly.
+
2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>
+
* context.stp: Added proper handling of statement
* probe in probefunc() for IA64 (bz# 3423)
diff --git a/tapset/README b/tapset/README
new file mode 100644
index 00000000..d69f4223
--- /dev/null
+++ b/tapset/README
@@ -0,0 +1,7 @@
+Systemtap scripts under this directory are NOT meant for
+direct execution. They are not sample end-user scripts,
+but rather constitute the "standard library" from which
+other scripts can pull in definitions from.
+
+For samples of end-user scripts, see the web
+http://sources.redhat.com/systemtap/documentation.html