aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-09-28 21:37:52 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-09-28 21:37:52 -0400
commit8c3551a1742849f719d481f2887626d59b5ded67 (patch)
treeeabb322acd4dbe3f2296000a64af3657ec7b79c7
parente84fce96e96d8b5ee5e9531400b0735fb7e4fbb6 (diff)
Add support for PULL_TIMER tracing.wip-semi-part-tracing
Match litmus2010 (2.6.34) commit 46fe457792f9deb
-rw-r--r--include/timestamp.h3
-rw-r--r--src/timestamp.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/timestamp.h b/include/timestamp.h
index a31f2ea..37aff60 100644
--- a/include/timestamp.h
+++ b/include/timestamp.h
@@ -41,6 +41,9 @@ const char* event2str(cmd_t id);
41#define TS_TICK_START TIMESTAMP(110) 41#define TS_TICK_START TIMESTAMP(110)
42#define TS_TICK_END TIMESTAMP(111) 42#define TS_TICK_END TIMESTAMP(111)
43 43
44#define TS_PULL_TIMER_START TIMESTAMP(112)
45#define TS_PULL_TIMER_END TIMESTAMP(113)
46
44#define TS_PLUGIN_SCHED_START TIMESTAMP(120) 47#define TS_PLUGIN_SCHED_START TIMESTAMP(120)
45#define TS_PLUGIN_SCHED_END TIMESTAMP(121) 48#define TS_PLUGIN_SCHED_END TIMESTAMP(121)
46 49
diff --git a/src/timestamp.c b/src/timestamp.c
index 4c04ce7..3e06cb7 100644
--- a/src/timestamp.c
+++ b/src/timestamp.c
@@ -22,6 +22,7 @@ static struct event_name event_table[] =
22 EVENT(PLUGIN_TICK), 22 EVENT(PLUGIN_TICK),
23 EVENT(CXS), 23 EVENT(CXS),
24 EVENT(SEND_RESCHED), 24 EVENT(SEND_RESCHED),
25 EVENT(PULL_TIMER),
25}; 26};
26 27
27int str2event(const char* str, cmd_t *id) 28int str2event(const char* str, cmd_t *id)