aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/trace.h
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-05 22:57:57 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-11-24 14:15:06 -0500
commit4490f9ecf94e28458069a02e8cfcf4f385390499 (patch)
tree04e8166b5f0fdf53614db0977b8d56f727007390 /include/litmus/trace.h
parentb739b4033c0f55f9194be2793db9e6ace06047db (diff)
Feather-Trace: trace locking-related suspensions
Diffstat (limited to 'include/litmus/trace.h')
-rw-r--r--include/litmus/trace.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/litmus/trace.h b/include/litmus/trace.h
index 05f487263f28..a725e8b583ba 100644
--- a/include/litmus/trace.h
+++ b/include/litmus/trace.h
@@ -92,9 +92,12 @@ feather_callback void save_timestamp_cpu(unsigned long event, unsigned long cpu)
92#define TS_EXIT_NP_END TIMESTAMP(151) 92#define TS_EXIT_NP_END TIMESTAMP(151)
93 93
94#define TS_LOCK_START TIMESTAMP(170) 94#define TS_LOCK_START TIMESTAMP(170)
95#define TS_LOCK_END TIMESTAMP(171) 95#define TS_LOCK_SUSPEND TIMESTAMP(171)
96#define TS_UNLOCK_START TIMESTAMP(172) 96#define TS_LOCK_RESUME TIMESTAMP(172)
97#define TS_UNLOCK_END TIMESTAMP(173) 97#define TS_LOCK_END TIMESTAMP(173)
98
99#define TS_UNLOCK_START TIMESTAMP(180)
100#define TS_UNLOCK_END TIMESTAMP(181)
98 101
99#define TS_SEND_RESCHED_START(c) CTIMESTAMP(190, c) 102#define TS_SEND_RESCHED_START(c) CTIMESTAMP(190, c)
100#define TS_SEND_RESCHED_END DTIMESTAMP(191, TSK_UNKNOWN) 103#define TS_SEND_RESCHED_END DTIMESTAMP(191, TSK_UNKNOWN)