sunrpc: introduce lttng_get_clid helper
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 12 Dec 2019 15:39:38 +0000 (10:39 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 12 Dec 2019 15:39:38 +0000 (10:39 -0500)
commitb6903d57e4c3234ec5b1c7f72e232023cdee0fab
tree1af8e46de0a128500117ab289f30559de1c579cd
parent70389e422dd3146161089d454f525367c9046ecd
sunrpc: introduce lttng_get_clid helper

Introduce the lttng_get_clid helper to always check for NULL pointer
when getting the client id. While not always strictly needed depending
on the tracepoint callsite, prefer robustness of instrumentation and
always check for NULL rather than play whack-a-mole.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/rpc.h
This page took 0.029041 seconds and 4 git commands to generate.