X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Frpc.h;h=29e0cd7b4e1faa035ad9109c1f236f90845143e5;hb=41a3cca2c7533c0e856f65c38808a8a9dd3a1e42;hp=a208b5af56bbfedacf8f23d96de4353ae4c7d185;hpb=f127e61ee231d002fb9a7803643a157e06f6d2e2;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/rpc.h b/instrumentation/events/lttng-module/rpc.h index a208b5af..29e0cd7b 100644 --- a/instrumentation/events/lttng-module/rpc.h +++ b/instrumentation/events/lttng-module/rpc.h @@ -4,7 +4,7 @@ #if !defined(LTTNG_TRACE_RPC_H) || defined(TRACE_HEADER_MULTI_READ) #define LTTNG_TRACE_RPC_H -#include "../../../probes/lttng-tracepoint-event.h" +#include #include #include @@ -15,8 +15,8 @@ LTTNG_TRACEPOINT_EVENT_CLASS(rpc_task_status, TP_ARGS(task), TP_FIELDS( - ctf_integer(const struct rpc_task *, task, task) - ctf_integer(const struct rpc_clnt *, clnt, task->tk_client) + ctf_integer_hex(const struct rpc_task *, task, task) + ctf_integer_hex(const struct rpc_clnt *, clnt, task->tk_client) ctf_integer(int, status, task->tk_status) ) ) @@ -39,8 +39,8 @@ LTTNG_TRACEPOINT_EVENT(rpc_connect_status, TP_ARGS(task, status), TP_FIELDS( - ctf_integer(const struct rpc_task *, task, task) - ctf_integer(const struct rpc_clnt *, clnt, task->tk_client) + ctf_integer_hex(const struct rpc_task *, task, task) + ctf_integer_hex(const struct rpc_clnt *, clnt, task->tk_client) ctf_integer(int, status, status) ) ) @@ -52,9 +52,9 @@ LTTNG_TRACEPOINT_EVENT_CLASS(rpc_task_running, TP_ARGS(clnt, task, action), TP_FIELDS( - ctf_integer(const struct rpc_clnt *, clnt, clnt) - ctf_integer(const struct rpc_task *, task, task) - ctf_integer(const void *, action, action) + ctf_integer_hex(const struct rpc_clnt *, clnt, clnt) + ctf_integer_hex(const struct rpc_task *, task, task) + ctf_integer_hex(const void *, action, action) ctf_integer(unsigned long, runstate, task->tk_runstate) ctf_integer(int, status, task->tk_status) ctf_integer(unsigned short, flags, task->tk_flags) @@ -92,8 +92,8 @@ LTTNG_TRACEPOINT_EVENT_CLASS(rpc_task_queued, TP_ARGS(clnt, task, q), TP_FIELDS( - ctf_integer(const struct rpc_clnt *, clnt, clnt) - ctf_integer(const struct rpc_task *, task, task) + ctf_integer_hex(const struct rpc_clnt *, clnt, clnt) + ctf_integer_hex(const struct rpc_task *, task, task) ctf_integer(unsigned long, timeout, task->tk_timeout) ctf_integer(unsigned long, runstate, task->tk_runstate) ctf_integer(int, status, task->tk_status) @@ -120,4 +120,4 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(rpc_task_queued, rpc_task_wakeup, #endif /* LTTNG_TRACE_RPC_H */ -#include "../../../probes/define_trace.h" +#include