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:45:54 +0000 (10:45 -0500)
commit5e4dcd47a0a9cf9face4815adbd624d751b206a0
tree8bbb4af101ad8fe75a34f06dc07dc71caf9c4cf8
parent47bf5fc55e8abad50ed354880e7857b3a18a9a31
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.025696 seconds and 4 git commands to generate.