diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2023-05-26 14:52:50 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-06-30 11:35:44 +0000 |
commit | 52fa5f21b911aaf1c50feb560dd3683b83625d2f (patch) | |
tree | f29e6ba9e62b6102284988d5bde7494c93e23407 /src/plugins/tracedump/tracedump.api | |
parent | 60527bd6df4772bb4215403f2eea1b61b8b10157 (diff) |
vlib: introduce trace filter functions
Change-Id: I7a988fafe98599e4fcf7cdaa307a69b9d76650f0
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Type: improvement
Diffstat (limited to 'src/plugins/tracedump/tracedump.api')
-rw-r--r-- | src/plugins/tracedump/tracedump.api | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/plugins/tracedump/tracedump.api b/src/plugins/tracedump/tracedump.api index ed6dd3f13bd..1b3813fb184 100644 --- a/src/plugins/tracedump/tracedump.api +++ b/src/plugins/tracedump/tracedump.api @@ -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 |