summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-02-12 16:32:41 -0600
committerDavid Smith <dsmith@redhat.com>2009-02-12 16:32:41 -0600
commit4bca766b4e1f3dfbda5be76c9502131ca0705adf (patch)
tree731ebf1f6080e9c5c10986a6b12bba9c9ddab20f
parent413996e0c3b55047e12272678627f7833228d892 (diff)
downloadsystemtap-steved-4bca766b4e1f3dfbda5be76c9502131ca0705adf.tar.gz
systemtap-steved-4bca766b4e1f3dfbda5be76c9502131ca0705adf.tar.xz
systemtap-steved-4bca766b4e1f3dfbda5be76c9502131ca0705adf.zip
Moved inclusion of runtime/procfs.c to a better place.
2009-02-12 David Smith <dsmith@redhat.com> * tapsets.cxx (procfs_derived_probe_group::emit_module_decls): Moved inclusion of procfs.c here from runtime/transport.c 2009-02-12 David Smith <dsmith@redhat.com> * transport.c: Moved inclusion of procfs.c to procfs_derived_probe_group::emit_module_decls() in tapsets.cxx.
-rw-r--r--ChangeLog5
-rw-r--r--runtime/transport/ChangeLog3
-rw-r--r--runtime/transport/transport.c1
-rw-r--r--tapsets.cxx1
4 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8842c897..3165dfe8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-12 David Smith <dsmith@redhat.com>
+
+ * tapsets.cxx (procfs_derived_probe_group::emit_module_decls):
+ Moved inclusion of procfs.c here from runtime/transport.c
+
2009-02-12 Mark Wielaard <mjw@redhat.com>
* translate.cxx (dump_unwindsyms): Use "\n" instead of endl in
diff --git a/runtime/transport/ChangeLog b/runtime/transport/ChangeLog
index f1a5a89b..e753b288 100644
--- a/runtime/transport/ChangeLog
+++ b/runtime/transport/ChangeLog
@@ -1,5 +1,8 @@
2009-02-12 David Smith <dsmith@redhat.com>
+ * transport.c: Moved inclusion of procfs.c to
+ procfs_derived_probe_group::emit_module_decls() in tapsets.cxx.
+
* transport.c (_stp_lock_transport_dir): Renamed from
_stp_lock_debugfs(), since on older kernels this actually uses
procfs.
diff --git a/runtime/transport/transport.c b/runtime/transport/transport.c
index 79da2101..23e4b855 100644
--- a/runtime/transport/transport.c
+++ b/runtime/transport/transport.c
@@ -20,7 +20,6 @@
#include "time.c"
#include "../mempool.c"
#include "symbols.c"
-#include "../procfs.c"
static struct utt_trace *_stp_utt = NULL;
static unsigned int utt_seq = 1;
diff --git a/tapsets.cxx b/tapsets.cxx
index 17fea0c4..9b375f06 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -7863,6 +7863,7 @@ procfs_derived_probe_group::emit_module_decls (systemtap_session& s)
return;
s.op->newline() << "/* ---- procfs probes ---- */";
+ s.op->newline() << "#include \"procfs.c\"";
// Emit the procfs probe data list
s.op->newline() << "static struct stap_procfs_probe {";