changeset 7397 | 5b173b4ca846 |
parent 5547 | f4b087cbb361 |
child 10739 | 91935236600e |
7396:518b01b064ff | 7397:5b173b4ca846 |
---|---|
1 /* |
1 /* |
2 * Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
|
25 #ifndef SHARE_VM_UTILITIES_DTRACE_HPP |
|
26 #define SHARE_VM_UTILITIES_DTRACE_HPP |
|
24 |
27 |
25 #if defined(SOLARIS) && defined(DTRACE_ENABLED) |
28 #if defined(SOLARIS) && defined(DTRACE_ENABLED) |
26 |
29 |
27 #include <sys/sdt.h> |
30 #include <sys/sdt.h> |
28 |
31 |
127 (uintptr_t)a8)) |
130 (uintptr_t)a8)) |
128 #define HS_DTRACE_PROBE10(provider,name,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)\ |
131 #define HS_DTRACE_PROBE10(provider,name,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9)\ |
129 HS_DTRACE_PROBE_N(provider,name,((uintptr_t)a0,(uintptr_t)a1,(uintptr_t)a2,\ |
132 HS_DTRACE_PROBE_N(provider,name,((uintptr_t)a0,(uintptr_t)a1,(uintptr_t)a2,\ |
130 (uintptr_t)a3,(uintptr_t)a4,(uintptr_t)a5,(uintptr_t)a6,(uintptr_t)a7,\ |
133 (uintptr_t)a3,(uintptr_t)a4,(uintptr_t)a5,(uintptr_t)a6,(uintptr_t)a7,\ |
131 (uintptr_t)a8,(uintptr_t)a9)) |
134 (uintptr_t)a8,(uintptr_t)a9)) |
135 |
|
136 #endif // SHARE_VM_UTILITIES_DTRACE_HPP |