Add dedicated trace events for benchmarking.
[barrelfish] / trace_definitions / trace_defs.pleco
index 8e7ec54..bb57310 100644 (file)
@@ -38,6 +38,7 @@
 
 subsystem kernel {
 
+    // Do not change CSWITCH name without changing Aquarium EventFactory.java!
        event CSWITCH                           "Context Switch",
        event BZERO                             "Buffer zeroing",
        event TIMER                             "",
@@ -52,6 +53,32 @@ subsystem kernel {
     event CORE_START_REQUEST      "Requested start of a new core.",
     event CORE_START_REQUEST_DONE "Request is sent, waiting for core to come up.",
     event CORE_START_REQUEST_ACK  "Core is online.",
+
+    /* Syscalls */
+    event SC_PRINT            "Syscall PRINT",
+    event SC_DISP_SETUP       "Syscall DISPATCHER ",
+    event SC_DISP_PROPS       "Syscall DISPATCHER_PROPS",
+    event SC_RETYPE           "Syscall RETYPE",
+    event SC_CREATE           "Syscall CREATE",
+    event SC_COPY_OR_MINT     "Syscall COPY_OR_MINT",
+    event SC_CTE_FOR_CAP      "Syscall CTE_FOR_CAP",
+    event SC_MAP              "Syscall MAP",
+    event SC_DELETE           "Syscall DELETE",
+    event SC_REVOKE           "Syscall REVOKE",
+    event SC_MONITOR_REGISTER "Syscall MONITOR_REGISTER",
+    event SC_IDENTIFY_CAP     "Syscall IDENTIFY_CAP",
+    event SC_NULLIFY_CAP      "Syscall NULLIFY_CAP",
+    event SC_DOMAIN_ID        "Syscall DOMAIN_ID",
+    event SC_YIELD            "Syscall YIELD",
+    event SC_SUSPEND          "Syscall SUSPEND",
+    event SC_IDCAP_IDENTIFY   "Syscall IDCAP_IDENTIFY",
+    event SC_SPAWN_CORE       "Syscall SPAWN_CORE",
+
+    event CAP_LOOKUP_SLOT          "Cap Slot lookup",
+    event CAP_LOOKUP_CAP           "Cap Lookup",
+    event CAP_CREATE_FROM_EXISTING "Cap Create from existing",
+    event CAP_CREATE_NEW           "Cap Create new",
+    event CAP_RETYPE               "Cap Retype",
 };
 
 subsystem threads {
@@ -166,12 +193,20 @@ subsystem route {
 
 };
 
+// Generic Benchmarking events
 subsystem bench {
 
+ event START                "Start the benchmark/tracing",
+ event STOP                 "End of the benchmark/tracing",
+
+ event ROUND_START          "",
+ event ROUND_END            "",
+
  event PCBENCH                         "",
  event RXPING                          "",
  event RXPONG                          "",
 
+
 };
 
 subsystem bomp {