summaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/lib-trace
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-04-24 10:46:54 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-04-25 16:18:42 +0000
commit11b8dbf78af49d270a0e72abe7dea73eec30d85f (patch)
tree5c9c513483f5c468efcb64b82c03c32733dc3a77 /src/plugins/ioam/lib-trace
parent45d3496f3d86ee1a930ce0ffd6ca3d1730355eb8 (diff)
"autoreply" flag: autogenerate standard xxx_reply_t messages
Change-Id: I72298aaae7d172082ece3a8edea4217c11b28d79 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/ioam/lib-trace')
-rw-r--r--src/plugins/ioam/lib-trace/trace.api26
1 files changed, 2 insertions, 24 deletions
diff --git a/src/plugins/ioam/lib-trace/trace.api b/src/plugins/ioam/lib-trace/trace.api
index cb9583256f6..2f45c6e28fd 100644
--- a/src/plugins/ioam/lib-trace/trace.api
+++ b/src/plugins/ioam/lib-trace/trace.api
@@ -22,7 +22,7 @@
@param trace_tsp- Timestamp resolution
@param app_data - Application specific opaque
*/
-define trace_profile_add {
+autoreply define trace_profile_add {
u32 client_index;
u32 context;
u8 trace_type;
@@ -32,37 +32,15 @@ define trace_profile_add {
u32 app_data;
};
-/** \brief Trace profile add / del response
- @param context - sender context, to match reply w/ request
- @param retval - return value for request
-*/
-define trace_profile_add_reply {
- u32 context;
- i32 retval;
-};
-
-
-
/** \brief Delete trace Profile
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
*/
-define trace_profile_del {
+autoreply define trace_profile_del {
u32 client_index;
u32 context;
};
-/** \brief Trace profile add / del response
- @param context - sender context, to match reply w/ request
- @param retval - return value for request
-*/
-define trace_profile_del_reply {
- u32 context;
- i32 retval;
-};
-
-
-
/** \brief Show trace Profile
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request