diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-03-06 19:21:44 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-03-06 19:21:44 +0100 |
commit | 63df184c9510561887771420a47cdc9c04b876f1 (patch) | |
tree | 6eb68851f9611f5000d547544a50c63db90394c3 | |
parent | c03f0c3d60d7ba465fe94ba60c26656f32287685 (diff) | |
download | systemtap-steved-63df184c9510561887771420a47cdc9c04b876f1.tar.gz systemtap-steved-63df184c9510561887771420a47cdc9c04b876f1.tar.xz systemtap-steved-63df184c9510561887771420a47cdc9c04b876f1.zip |
STAP_PROBE takes no extra arguments.
* includes/sys/sdt.h (STAP_PROBE): Don't add __VA_ARGS__.
-rw-r--r-- | includes/sys/sdt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h index 1d41d878..4ebf4fe0 100644 --- a/includes/sys/sdt.h +++ b/includes/sys/sdt.h @@ -181,8 +181,8 @@ label: \ STAP_PROBE_STRUCT(probe,(size_t)&& label) \ STAP_LABEL_REF(probe,label);} while (0) -#define STAP_PROBE(provider,probe,...) \ - STAP_PROBE_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),__VA_ARGS__) +#define STAP_PROBE(provider,probe) \ + STAP_PROBE_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER)) #define STAP_PROBE1(provider,probe,...) \ STAP_PROBE1_(probe,STAP_LABEL(STAP_LABEL_PREFIX(probe),STAP_COUNTER),__VA_ARGS__) #define STAP_PROBE2(provider,probe,...) \ |