vlib: introduce trace filter functions
[vpp.git] / src / plugins / tracedump / tracedump.api
index ed6dd3f..1b3813f 100644 (file)
@@ -192,4 +192,24 @@ define trace_v2_details {
     bool more;
 
     string trace_data[];
+};
+
+autoreply define trace_set_filter_function
+{
+    u32 client_index;
+    u32 context;
+
+    string filter_function_name[];
+};
+
+define trace_filter_function_dump {
+    u32 client_index;
+    u32 context;
+};
+
+define trace_filter_function_details {
+    u32 context;
+
+    bool selected;
+    string name[];
 };
\ No newline at end of file