Deleted Added
full compact
uwx_trace.h (160158) uwx_trace.h (160163)
1/*
2Copyright (c) 2003-2006 Hewlett-Packard Development Company, L.P.
3Permission is hereby granted, free of charge, to any person
4obtaining a copy of this software and associated documentation
5files (the "Software"), to deal in the Software without
6restriction, including without limitation the rights to use,
7copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the

--- 19 unchanged lines hidden (view full) ---

28#define UWX_TRACE_STEP 8 /* UWX_TRACE=s: step */
29#define UWX_TRACE_UTABLE 16 /* UWX_TRACE=t: unwind tbl search */
30#define UWX_TRACE_CONTEXT 32 /* UWX_TRACE=c: context */
31#define UWX_TRACE_COPYIN 64 /* UWX_TRACE=C: copyin callback */
32#define UWX_TRACE_LOOKUPIP 128 /* UWX_TRACE=L: lookupip callback */
33
34#ifdef UWX_TRACE_ENABLE
35
1/*
2Copyright (c) 2003-2006 Hewlett-Packard Development Company, L.P.
3Permission is hereby granted, free of charge, to any person
4obtaining a copy of this software and associated documentation
5files (the "Software"), to deal in the Software without
6restriction, including without limitation the rights to use,
7copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the

--- 19 unchanged lines hidden (view full) ---

28#define UWX_TRACE_STEP 8 /* UWX_TRACE=s: step */
29#define UWX_TRACE_UTABLE 16 /* UWX_TRACE=t: unwind tbl search */
30#define UWX_TRACE_CONTEXT 32 /* UWX_TRACE=c: context */
31#define UWX_TRACE_COPYIN 64 /* UWX_TRACE=C: copyin callback */
32#define UWX_TRACE_LOOKUPIP 128 /* UWX_TRACE=L: lookupip callback */
33
34#ifdef UWX_TRACE_ENABLE
35
36#ifdef _KERNEL
37#define fprintf(f, ...) printf(__VA_ARGS__)
38#endif
39
36extern void uwx_trace_init(struct uwx_env *env);
37
40extern void uwx_trace_init(struct uwx_env *env);
41
42struct uwx_utable_entry;
43
44extern void uwx_dump_uinfo_block(struct uwx_utable_entry *, unsigned int);
45
38extern void uwx_dump_rstate(int regid, uint64_t rstate);
39
40struct uwx_rhdr;
41
42extern void uwx_dump_scoreboard(
43 struct uwx_scoreboard *scoreboard,
44 int nsbreg,
45 struct uwx_rhdr *rhdr,

--- 317 unchanged lines hidden ---
46extern void uwx_dump_rstate(int regid, uint64_t rstate);
47
48struct uwx_rhdr;
49
50extern void uwx_dump_scoreboard(
51 struct uwx_scoreboard *scoreboard,
52 int nsbreg,
53 struct uwx_rhdr *rhdr,

--- 317 unchanged lines hidden ---