diff options
author | Stan Cox <scox@redhat.com> | 2009-02-01 21:22:21 -0500 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2009-02-01 21:22:21 -0500 |
commit | 0f336e95987931dd9fd35de02deee0ce682b987a (patch) | |
tree | 21235b1ebd1a95537272a54119f4dcb3258787e9 /runtime/sdt.h | |
parent | 30d163f5e3c082128548a45b3e5609bbd58fd128 (diff) | |
download | systemtap-steved-0f336e95987931dd9fd35de02deee0ce682b987a.tar.gz systemtap-steved-0f336e95987931dd9fd35de02deee0ce682b987a.tar.xz systemtap-steved-0f336e95987931dd9fd35de02deee0ce682b987a.zip |
Add .label("label")
Diffstat (limited to 'runtime/sdt.h')
-rw-r--r-- | runtime/sdt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/sdt.h b/runtime/sdt.h index b36c6973..359ce4da 100644 --- a/runtime/sdt.h +++ b/runtime/sdt.h @@ -28,7 +28,7 @@ struct _probe_ ## probe \ static char probe ## _ ## probe_name [strlen(#probe)+1] \ __attribute__ ((section (".probes"))) \ = #probe; \ - static volatile struct _probe_ ## probe _probe_ ## probe __attribute__ ((section (".probes"))) = {STAP_SENTINEL,(long)& probe ## _ ## probe_name[0],argc}; +static volatile struct _probe_ ## probe _probe_ ## probe __attribute__ ((section (".probes"))) = {STAP_SENTINEL,(size_t)& probe ## _ ## probe_name[0],argc}; #define STAP_CONCAT(a,b) a ## b #define STAP_LABEL(p,n) \ |