1 | /* |
2 | * as_stap.h |
3 | * |
4 | * Copyright (C) 2015 Aerospike, Inc. |
5 | * |
6 | * Portions may be licensed to Aerospike, Inc. under one or more contributor |
7 | * license agreements. |
8 | * |
9 | * This program is free software: you can redistribute it and/or modify it under |
10 | * the terms of the GNU Affero General Public License as published by the Free |
11 | * Software Foundation, either version 3 of the License, or (at your option) any |
12 | * later version. |
13 | * |
14 | * This program is distributed in the hope that it will be useful, but WITHOUT |
15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
16 | * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more |
17 | * details. |
18 | * |
19 | * You should have received a copy of the GNU Affero General Public License |
20 | * along with this program. If not, see http://www.gnu.org/licenses/ |
21 | */ |
22 | |
23 | #pragma once |
24 | |
25 | #if defined(USE_SYSTEMTAP) |
26 | #include <sys/sdt.h> |
27 | #include "probes.h" |
28 | #else |
29 | #define ASD_TRANS_DEMARSHAL(arg1,arg2,arg3) |
30 | #define ASD_QUERY_STARTING(arg1,arg2) |
31 | #define ASD_QUERY_QTRSETUP_STARTING(arg1,arg2) |
32 | #define ASD_QUERY_QTRSETUP_FINISHED(arg1,arg2) |
33 | #define ASD_QUERY_INIT(arg1,arg2) |
34 | #define ASD_QUERY_DONE(arg1,arg2,arg3) |
35 | #define ASD_QUERY_TRANS_DONE(arg1,arg2,arg3) |
36 | #define ASD_QUERY_QTR_ALLOC(arg1,arg2,arg3) |
37 | #define ASD_QUERY_QTR_FREE(arg1,arg2,arg3) |
38 | #define ASD_QUERY_IOREQ_STARTING(arg1,arg2) |
39 | #define ASD_QUERY_IOREQ_FINISHED(arg1,arg2) |
40 | #define ASD_QUERY_IO_STARTING(arg1,arg2) |
41 | #define ASD_QUERY_IO_NOTMATCH(arg1,arg2) |
42 | #define ASD_QUERY_IO_ERROR(arg1,arg2) |
43 | #define ASD_QUERY_IO_FINISHED(arg1,arg2) |
44 | #define ASD_QUERY_NETIO_STARTING(arg1,arg2) |
45 | #define ASD_QUERY_NETIO_FINISHED(arg1,arg2) |
46 | #define ASD_QUERY_ADDFIN(arg1,arg2) |
47 | #define ASD_QUERY_SENDPACKET_STARTING(arg1,arg2,arg3) |
48 | #define ASD_QUERY_SENDPACKET_CONTINUE(arg1,arg2) |
49 | #define ASD_QUERY_SENDPACKET_FINISHED(arg1) |
50 | #define ASD_SINDEX_MSGRANGE_STARTING(arg1,arg2) |
51 | #define ASD_SINDEX_MSGRANGE_FINISHED(arg1,arg2) |
52 | #endif |
53 | |