RX: Tidy reader data locking
[openafs.git] / src / rx / rx_trace.h
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #ifndef _RX_TRACE
11 #define _RX_TRACE
12
13 #ifndef RXDEBUG
14 #define rxi_calltrace(a,b)
15 #define rxi_flushtrace()
16 #else
17 extern void rxi_calltrace(unsigned int event, struct rx_call *call);
18 extern void rxi_flushtrace(void);
19
20 #define RX_CALL_ARRIVAL 0
21 #define RX_CALL_START 1
22 #define RX_CALL_END 2
23 #define RX_TRACE_DROP 3
24
25 #endif /* RXDEBUG */
26
27 #endif /* _RX_TRACE */