Contents of /tags/mkinitrd-6_2_1/isolinux/tracers.inc
Parent Directory | Revision Log
Revision 999 -
(show annotations)
(download)
Sun May 30 12:16:23 2010 UTC (14 years, 4 months ago) by niro
File size: 1104 byte(s)
Sun May 30 12:16:23 2010 UTC (14 years, 4 months ago) by niro
File size: 1104 byte(s)
tagged 'mkinitrd-6_2_1'
1 | ;; $Id: tracers.inc,v 1.1 2007-09-01 22:44:05 niro Exp $ |
2 | ;; ----------------------------------------------------------------------- |
3 | ;; |
4 | ;; Copyright 1994-2002 H. Peter Anvin - All Rights Reserved |
5 | ;; |
6 | ;; This program is free software; you can redistribute it and/or modify |
7 | ;; it under the terms of the GNU General Public License as published by |
8 | ;; the Free Software Foundation, Inc., 53 Temple Place Ste 330, |
9 | ;; Boston MA 02111-1307, USA; either version 2 of the License, or |
10 | ;; (at your option) any later version; incorporated herein by reference. |
11 | ;; |
12 | ;; ----------------------------------------------------------------------- |
13 | |
14 | ;; |
15 | ;; tracers.inc |
16 | ;; |
17 | ;; Debugging tracers |
18 | ;; |
19 | |
20 | %ifndef _TRACERS_INC |
21 | %define _TRACERS_INC |
22 | |
23 | ; Note: The Makefile builds one version with DEBUG_MESSAGES automatically. |
24 | ; %define DEBUG_TRACERS 1 ; Uncomment to get debugging tracers |
25 | ; %define DEBUG_MESSAGES ; Uncomment to get debugging messages |
26 | |
27 | %ifdef DEBUG_TRACERS |
28 | |
29 | %macro TRACER 1 |
30 | call debug_tracer |
31 | db %1 |
32 | %endmacro |
33 | |
34 | %else ; DEBUG_TRACERS |
35 | |
36 | %macro TRACER 1 |
37 | %endmacro |
38 | |
39 | %endif ; DEBUG_TRACERS |
40 | |
41 | %endif ; _TRACERS_INC |