Update btrfs instrumentation for 4.10 kernel
[lttng-modules.git] / instrumentation / events / lttng-module / rpc.h
index a208b5af56bbfedacf8f23d96de4353ae4c7d185..29e0cd7b4e1faa035ad9109c1f236f90845143e5 100644 (file)
@@ -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 <probes/lttng-tracepoint-event.h>
 #include <linux/sunrpc/sched.h>
 #include <linux/sunrpc/clnt.h>
 
@@ -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 <probes/define_trace.h>
This page took 0.0258 seconds and 4 git commands to generate.