aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)