Rename context arg to context_handle for consistency

This commit is contained in:
Christophe Bedard 2019-06-07 13:25:16 +02:00
parent d93915da53
commit bdbacfcde8
3 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ bool ros_trace_compile_status();
*/
void TRACEPOINT(
rcl_init,
const void * context);
const void * context_handle);
/**
* tp: rcl_node_init

View file

@ -4,10 +4,10 @@ TRACEPOINT_EVENT(
ros2,
rcl_init,
TP_ARGS(
const void *, context_arg
const void *, context_handle_arg
),
TP_FIELDS(
ctf_integer_hex(const void *, context, context_arg)
ctf_integer_hex(const void *, context_handle, context_handle_arg)
)
)

View file

@ -19,12 +19,12 @@ bool ros_trace_compile_status()
void TRACEPOINT(
rcl_init,
const void * context)
const void * context_handle)
{
CONDITIONAL_TP(
ros2,
rcl_init,
context);
context_handle);
}
void TRACEPOINT(