From 4b2c4ab54948e7fa504171baa255b4314e0a5467 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 2 Nov 2006 17:04:46 +0000 Subject: [PATCH] 2006-11-02 Frank Ch. Eigler * Makefile.am: Install tapset/README too. * Makefile.in: Regenerated. 2006-11-02 Frank Ch. Eigler * README: Add a blurb against running these scripts directly. --- ChangeLog | 5 +++++ Makefile.am | 2 +- Makefile.in | 2 +- buildrun.cxx | 2 ++ tapset/ChangeLog | 5 +++++ tapset/README | 7 +++++++ 6 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 tapset/README diff --git a/ChangeLog b/ChangeLog index a7baf93dc..eff3312d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-02 Frank Ch. Eigler + + * Makefile.am: Install tapset/README too. + * Makefile.in: Regenerated. + 2006-11-01 Josh Stone * tapsets.cxx (timer_derived_probe_group::emit_interval): New - diff --git a/Makefile.am b/Makefile.am index 72a786080..e810590bc 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 ee174e9cf..8f1e88c6d 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 fe499e1ec..969ba3524 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 1e16c223f..32aee13bf 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,4 +1,9 @@ +2006-11-02 Frank Ch. Eigler + + * README: Add a blurb against running these scripts directly. + 2006-10-29 Thang Nguyen + * 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 000000000..d69f4223a --- /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 -- 2.43.5