From 93335007b28fd12a423cb2a8f8e6e3a1e1b21b59 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Tue, 31 May 2011 17:16:57 -0400 Subject: [PATCH] Don't include sdt-types.h in testsuite/sdt.h * testsuite/sdt.h: systemtap-testsuite cannot find SOURCE/sdt-types.h so duplicate the needed constants. --- testsuite/sys/sdt.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/testsuite/sys/sdt.h b/testsuite/sys/sdt.h index e023812f8..42fffba2d 100644 --- a/testsuite/sys/sdt.h +++ b/testsuite/sys/sdt.h @@ -4,7 +4,12 @@ #if defined STAP_SDT_V1 || defined STAP_SDT_V2 || \ defined EXPERIMENTAL_KPROBE_SDT #include -#include "../../sdt_types.h" + +/* Also defined in "sdt_types.h" Defined here for systemtap-testsuite */ +#define UPROBE1_TYPE 0x31425250 /* "PRB1" (little-endian) */ +#define KPROBE1_TYPE 0x32425250 /* "PRB2" */ +#define UPROBE2_TYPE 0x32425055 /* "UPB2" */ +#define KPROBE2_TYPE 0x3242504b /* "KPB2" */ #ifdef __LP64__ #define STAP_PROBE_ADDR(arg) "\t.quad " arg -- 2.43.5