* include/sys/strace.h (_STRACE_ON): Define.
(_STRACE_OFF): Ditto.
This commit is contained in:
parent
5aa2ffa962
commit
6616e6cf76
|
@ -1,3 +1,8 @@
|
|||
2002-01-28 Earnie Boyd <earnie@users.sf.net>
|
||||
|
||||
* include/sys/strace.h (_STRACE_ON): Define.
|
||||
(_STRACE_OFF): Ditto.
|
||||
|
||||
2002-01-24 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* speclib: Ensure that temporary def file is removed.
|
||||
|
|
|
@ -77,6 +77,13 @@ extern strace strace;
|
|||
#define _STRACE_MALLOC 0x20000 // trace malloc calls
|
||||
#define _STRACE_THREAD 0x40000 // thread-locking calls
|
||||
#define _STRACE_NOTALL 0x80000 // don't include if _STRACE_ALL
|
||||
#if defined (DEBUGGING)
|
||||
# define _STRACE_ON strace.active = 1;
|
||||
# define _STRACE_OFF strace.active = 0;
|
||||
#else
|
||||
# define _STRACE_ON
|
||||
# define _STRACE_OFF
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in New Issue