From 4490f9ecf94e28458069a02e8cfcf4f385390499 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Sat, 5 Feb 2011 22:57:57 -0500 Subject: Feather-Trace: trace locking-related suspensions --- include/litmus/trace.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include') 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) #define TS_EXIT_NP_END TIMESTAMP(151) #define TS_LOCK_START TIMESTAMP(170) -#define TS_LOCK_END TIMESTAMP(171) -#define TS_UNLOCK_START TIMESTAMP(172) -#define TS_UNLOCK_END TIMESTAMP(173) +#define TS_LOCK_SUSPEND TIMESTAMP(171) +#define TS_LOCK_RESUME TIMESTAMP(172) +#define TS_LOCK_END TIMESTAMP(173) + +#define TS_UNLOCK_START TIMESTAMP(180) +#define TS_UNLOCK_END TIMESTAMP(181) #define TS_SEND_RESCHED_START(c) CTIMESTAMP(190, c) #define TS_SEND_RESCHED_END DTIMESTAMP(191, TSK_UNKNOWN) -- cgit v1.2.2