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:49 +0000 (10:45 -0500)
commit1330a091a687a406513c3a326c2fc2a0dbe75536
treece8ee435b97550b9a568f29ef63fd3c0532f6e69
parentcc7bb0aa52cae22255581d67841449bb8ea36fda
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.024729 seconds and 4 git commands to generate.