Add tests

This commit is contained in:
Christophe Bedard 2019-07-02 14:35:24 +02:00
parent 237e137ce2
commit 0288722985
8 changed files with 154 additions and 4 deletions

View file

@ -189,11 +189,13 @@ TRACEPOINT_EVENT(
rclcpp_callback_register,
TP_ARGS(
const void *, callback_arg,
const char *, symbol_arg
const char *, symbol_arg,
const void *, address_arg
),
TP_FIELDS(
ctf_integer_hex(const void *, callback, callback_arg)
ctf_string(symbol, symbol_arg)
ctf_integer_hex(const void *, address, address_arg)
)
)

View file

@ -129,7 +129,8 @@ void TRACEPOINT(
void TRACEPOINT(
rclcpp_callback_register,
const void * callback,
const char * function_symbol);
const char * function_symbol,
const void * address);
/**
* tp: callback_start