Marius Strobl
b6c63e2a81
Use <sys/ktr.h> directly in .S files instead of exporting the
...
KTR_* class macros via genassym.c. Together with sys/sys/ktr.h
rev. 1.34 this has the desired side-effect of providing a default
value for KTR_COMPILE. Thus this fixes warnings from -Wundef
regarding KTR_COMPILE not being defined for .S files.
Requested by: ru
Reviewed by: ru
2005-12-06 16:38:08 +00:00
David E. O'Brien
9cd8976ea9
Two tokens that don't together form a vaid preprocssor token cannot be
...
pasted together using ANSI-C token concatinatation. GCC's cpp, at least,
produces the desired result w/o using "##".
2003-04-26 17:00:10 +00:00
Jake Burkholder
274ae7b653
Provide an implementation of KTR_CPU that doesn't use pcpu, so we don't
...
crash and burn if its not setup yet. Add timestamp, cpu, and (fake) file
and line recording to the asm version of CTR.
2002-04-06 08:40:59 +00:00
Jake Burkholder
c93b7ccb41
Remove an unused macro arg.
2001-10-20 15:57:39 +00:00
Jake Burkholder
75c6786401
Don't overflow the ktr buffer <gulp>.
2001-09-30 18:42:56 +00:00
Jake Burkholder
a78f8e2104
Add simple macros for tracing in assembler files. There are quite
...
a few places where we cannot even call a function, and these have
proven to be very useful debugging tools for such situations.
2001-09-03 22:32:49 +00:00