summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/ChangeLog4
-rw-r--r--runtime/sdt.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index ea3643a1..005424ab 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,5 +1,9 @@
2009-02-16 Mark Wielaard <scox@redhat.com>
+ * sdt.h (STAP_PROBE): Take provider and probe as arguments.
+
+2009-02-16 Mark Wielaard <scox@redhat.com>
+
* sdt.h (STAP_PROBE9): Fix )( typo in parm9.
2009-02-15 Stan Cox <scox@redhat.com>
diff --git a/runtime/sdt.h b/runtime/sdt.h
index 98a583dc..2480d034 100644
--- a/runtime/sdt.h
+++ b/runtime/sdt.h
@@ -158,7 +158,7 @@ STAP_LABEL(probe,__LINE__): \
STAP_PROBE_STRUCT(probe,(size_t)&& STAP_LABEL(probe,__LINE__)) \
STAP_LABEL_REF(probe);}
-#define DTRACE_PROBE(__LINE__) \
+#define DTRACE_PROBE(provider,probe) \
STAP_PROBE(provider,probe)
#define DTRACE_PROBE1(provider,probe,parm1) \
STAP_PROBE1(provider,probe,parm1)