Add logo by Abi Rasheed
[profile/ivi/syslinux.git] / core / tracers.inc
1 ;; -----------------------------------------------------------------------
2 ;;
3 ;;   Copyright 1994-2008 H. Peter Anvin - All Rights Reserved
4 ;;
5 ;;   This program is free software; you can redistribute it and/or modify
6 ;;   it under the terms of the GNU General Public License as published by
7 ;;   the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 ;;   Boston MA 02111-1307, USA; either version 2 of the License, or
9 ;;   (at your option) any later version; incorporated herein by reference.
10 ;;
11 ;; -----------------------------------------------------------------------
12
13 ;;
14 ;; tracers.inc
15 ;;
16 ;; Debugging tracers
17 ;;
18
19 %ifndef _TRACERS_INC
20 %define _TRACERS_INC
21
22 ; Note: The Makefile builds one version with DEBUG_MESSAGES automatically.
23 ; %define DEBUG_TRACERS 1               ; Uncomment to get debugging tracers
24 ; %define DEBUG_MESSAGES                ; Uncomment to get debugging messages
25
26 %ifdef DEBUG_TRACERS
27
28 %macro TRACER   1
29         call debug_tracer
30         db %1
31 %endmacro
32
33 %else   ; DEBUG_TRACERS
34
35 %macro  TRACER  1
36 %endmacro
37
38 %endif  ; DEBUG_TRACERS
39
40 %endif ; _TRACERS_INC