Commit Graph

816 Commits

Author SHA1 Message Date
Jan Stoess 50743865e6 Make debugger-specific macros depenend from whether the debugger is actually
enabled.
2007-11-06 10:06:55 +01:00
Jan Stoess 38e54a512a Make debugger-specific macros depenend from whether the debugger is actually
enabled.
2007-11-06 10:06:46 +01:00
Jan Stoess 881b5ef839 Make debugger-specific macros depenend from whether the debugger is actually
enabled.
2007-11-06 10:06:37 +01:00
Jan Stoess 0b071ad217 Make debugger-specific macros depenend from whether the debugger is actually
enabled.
2007-11-06 10:06:30 +01:00
Jan Stoess aa5466d683 Always include debug.h from glue; it allows to define away arch-specific
debugging macros when the debugger is turned off
2007-11-06 10:05:55 +01:00
Jan Stoess ec54fbfa08 - Include linear_ptab.h for page_size 2007-11-06 09:27:35 +01:00
Jan Stoess c0e232cf93 - Adopt to new TRACEPOINT style 2007-11-06 09:27:08 +01:00
Jan Stoess 8ad879fefb - Move arch/XY/bug.h to glue/v4-XY/debug.h. That stuff isn't really
architecture-specific.
- Unify debugger code for ia32/amd64
2007-10-31 09:26:59 +01:00
Jan Stoess 7a79e96e88 - Unified tracebuffer logic for ia32/amd64 2007-10-31 09:23:54 +01:00
Jan Stoess f9729fe126 - Adopted user-level tracebuffer logic
- Unified asm macros for amd64/ia32 (though not in the same file yet)
2007-10-31 09:23:26 +01:00
Jan Stoess 3cc9e4f474 - Adopted user-level tracebuffer logic 2007-10-31 09:22:50 +01:00
Jan Stoess b0676bd40d - Adopted user-level tracebuffer logic
- Unified asm macros for amd64/ia32 (though not in the same file yet)
2007-10-31 09:22:39 +01:00
Jan Stoess 4f40aaad70 - Add option to enter a tracebuffer entry in pingpong 2007-10-31 09:21:57 +01:00
Jan Stoess dc4705f5c5 - Add option to enter a tracebuffer entry in pingpong 2007-10-31 09:21:52 +01:00
Jan Stoess e0f9813cbb - Add option to enter a tracebuffer entry in pingpong 2007-10-31 09:21:42 +01:00
Jan Stoess cee4d434ee - Don't need arch_wrmsr, have x86_wrmsr already 2007-10-31 09:17:58 +01:00
Jan Stoess 1905db9354 - Adopt to new TRACEPOINT style 2007-10-31 09:17:34 +01:00
Jan Stoess 5ab08daa8d New TRACEPOINT logic:
- TRACEPOINT(...) now generates a tracebuffer entry by default. Use
TRACEPOINT_NOTB(...) to define a TP w/o tracebuffer entry.
- TRACEPOINT(...) now receives _one_ string and a variable number of string
arguments (up to 9 currently), which it passes to the tracebuffer together
with the TRACEPOINT id.
2007-10-31 09:17:21 +01:00
Jan Stoess 8e3bd2f1a4 - Use va_list functionality for recording tracebuffer events. va_list is
limited to a fixed number of args. Templates or multiple function
definitions would create a maintenance hell otherwise. Also, va_list eases
preprocessor treatments of arguments passed by TRACEPOINT(), the main
customer of the tracebuffer
2007-10-31 09:15:16 +01:00
Jan Stoess 46685f5c9e - Added unified tracebuffer setup 2007-10-31 09:13:10 +01:00
Jan Stoess fe7588e7ad - Add debug.cc 2007-10-31 09:12:58 +01:00
Jan Stoess 91bc484197 - Adopt to new tracebuffer style 2007-10-31 09:12:48 +01:00
Jan Stoess 217ecdbe60 - Adopt to new TRACEPOINT style 2007-10-31 09:12:36 +01:00
Jan Stoess e2be6960a7 - Unified setup tracebuffer for ia32/amd64 2007-10-31 09:12:20 +01:00
Jan Stoess e12c7e954b - Unify ia32_dump_frame and DUMP_FRAME
- Adopt to new TRACEPOINT style
2007-10-31 09:12:00 +01:00
Jan Stoess 7cef508260 - debug.cc is now unified for x86 2007-10-31 09:11:40 +01:00
Jan Stoess f2a18c2366 - Adopt to new tracebuffer style 2007-10-31 09:11:07 +01:00
Jan Stoess a0a8711a2f - Adopt to new TRACEPOINT style 2007-10-31 09:10:56 +01:00
Jan Stoess 964d2d9bb8 - Adopt to new TRACEPOINT style 2007-10-31 09:10:47 +01:00
Jan Stoess 585b43838b - Unified setup tracebuffer for ia32/amd64 2007-10-31 09:10:38 +01:00
Jan Stoess a66d453966 - Adopt to new TRACEPOINT style
- Unify DUMP_FRAME(); and ia32_dump_frame into dump_frame
2007-10-31 09:10:09 +01:00
Jan Stoess 8886900f3d debug.cc is now unified for x86 2007-10-31 09:09:41 +01:00
Jan Stoess 7cb7f1b2e8 - Adopt to new TRACEPOINT style 2007-10-31 09:09:10 +01:00
Jan Stoess 8608621f44 - Added a string() method to print out nice info 2007-10-31 09:08:40 +01:00
Jan Stoess 48e080af4c - Adopt to new TRACEPOINT style 2007-10-31 09:08:12 +01:00
Jan Stoess e0b8c65f3e - Adopt to new TRACEPOINT style 2007-10-31 09:07:42 +01:00
Jan Stoess 98fec4a3be - Adopt to new TRACEPOINT style 2007-10-31 09:07:29 +01:00
Jan Stoess c30e0141fc - debug.h is now located in glue directory, makes more sense 2007-10-31 09:06:55 +01:00
Jan Stoess f55ab67efe - Adopt to new KDB parameter format 2007-10-31 09:06:31 +01:00
Jan Stoess e33b7ffaf5 - Adopt to new KDB parameter format 2007-10-31 09:03:11 +01:00
Jan Stoess de209c7a0c - Adopt to new KDB parameter format 2007-10-31 09:02:47 +01:00
Jan Stoess 06af312bf7 - Improved tracebuffer logic: tbuf now stores cpu and tracepoint id (if
available).
- Unified recording asm stub for ia32 and amd64
2007-10-31 09:01:59 +01:00
Jan Stoess f53e876174 - Improved tracebuffer logic: tbuf now stores cpu and tracepoint id (if
available).
- Unified recording asm stub for ia32 and amd64
2007-10-31 09:01:52 +01:00
Jan Stoess 221e488c2d - Adopt to new TRACEPOINT style 2007-10-31 09:00:44 +01:00
Jan Stoess 75a1b696f4 - Added a exregs control data type 2007-10-31 09:00:37 +01:00
Jan Stoess ad2d688003 - Adopt to new TRACEPOINT style 2007-10-31 09:00:16 +01:00
Jan Stoess d003f52cce - Adopt to new TRACEPOINT style 2007-10-31 09:00:06 +01:00
Jan Stoess ad2f8f7e98 - Adopt to new TRACEPOINT style 2007-10-31 09:00:00 +01:00
Jan Stoess b061653806 - Adopt to new TRACEPOINT style 2007-10-31 08:59:46 +01:00
Jan Stoess b67c8937ae - Adopt to new TRACEPOINT style 2007-10-31 08:59:37 +01:00