summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-01 17:32:21 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-01 17:32:21 -0500
commit9bb49f8af1238b5c595b8dd3596453c0ba7eafaa (patch)
tree7135556c5b8286c994364bcd7f2a5618d23891fd
parentbb7de78222a2c95e8a5c97c3b0400d0bf3d7510e (diff)
add ST_ACTION to list of known eventsHEADmaster
-rw-r--r--include/sched_trace.h1
-rw-r--r--src/util.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/sched_trace.h b/include/sched_trace.h
index 8bdd253..04d5743 100644
--- a/include/sched_trace.h
+++ b/include/sched_trace.h
@@ -94,6 +94,7 @@ typedef enum {
94 ST_COMPLETION, 94 ST_COMPLETION,
95 ST_BLOCK, 95 ST_BLOCK,
96 ST_RESUME, 96 ST_RESUME,
97 ST_ACTION,
97 ST_SYS_RELEASE, 98 ST_SYS_RELEASE,
98} st_event_record_type_t; 99} st_event_record_type_t;
99 100
diff --git a/src/util.c b/src/util.c
index b603c4a..536aaf8 100644
--- a/src/util.c
+++ b/src/util.c
@@ -21,6 +21,7 @@ static const char* event_names[] = {
21 "COMPLETION", 21 "COMPLETION",
22 "BLOCK", 22 "BLOCK",
23 "RESUME", 23 "RESUME",
24 "ACTION",
24 "SYS_RELEASE", 25 "SYS_RELEASE",
25 "INVALID" 26 "INVALID"
26}; 27};
@@ -110,6 +111,7 @@ static print_t print_detail[] = {
110 print_nothing, /* COMPLETION */ 111 print_nothing, /* COMPLETION */
111 print_nothing, /* BLOCK */ 112 print_nothing, /* BLOCK */
112 print_nothing, /* RESUME */ 113 print_nothing, /* RESUME */
114 print_nothing, /* ACTION */
113 print_time_data2, /* SYS_RELEASE */ 115 print_time_data2, /* SYS_RELEASE */
114 print_raw, /* invalid */ 116 print_raw, /* invalid */
115}; 117};