1
2 #undef TRACEPOINT_PROVIDER
3 #define TRACEPOINT_PROVIDER pg
4
5 #undef TRACEPOINT_INCLUDE
6 #define TRACEPOINT_INCLUDE "./tracing/pg.h"
7
8 #if !defined(TRACING_PG_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
9 #define TRACING_PG_H
10
11 #include <lttng/tracepoint.h>
12
13 #include "include/int_types.h"
14
(1) Event unsigned_compare: |
This less-than-zero comparison of an unsigned value is never true. "18446744073709551615UL < 0UL". |
15 TRACEPOINT_EVENT(pg, queue_op,
16 TP_ARGS(
17 // osd_reqid_t
18 uint8_t, type,
19 int64_t, num,
20 uint64_t, tid,
21 int32_t, inc,
22 int, rmw_flags),
23 TP_FIELDS(
24 ctf_integer(uint8_t, type, type)
25 ctf_integer(int64_t, num, num)
26 ctf_integer(uint64_t, tid, tid)
27 ctf_integer(int32_t, inc, inc)
28 ctf_integer(int, rmw_flags, rmw_flags)
29 )
30 )
31
32 #endif /* TRACING_PG_H */
33
34 #include <lttng/tracepoint-event.h>
35