1 2 #undef TRACEPOINT_PROVIDER 3 #define TRACEPOINT_PROVIDER oprequest 4 5 #undef TRACEPOINT_INCLUDE 6 #define TRACEPOINT_INCLUDE "./tracing/oprequest.h" 7 8 #if !defined(TRACING_OPREQUEST_H) || defined(TRACEPOINT_HEADER_MULTI_READ) 9 #define TRACING_OPREQUEST_H 10 11 #include <lttng/tracepoint.h> 12 13 #include "include/int_types.h" 14 15 TRACEPOINT_EVENT(oprequest, set_rmw_flags, 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, flag, 23 int, old_rmw_flags, 24 int, new_rmw_flags), 25 TP_FIELDS( 26 ctf_integer(uint8_t, type, type) 27 ctf_integer(int64_t, num, num) 28 ctf_integer(uint64_t, tid, tid) 29 ctf_integer(int32_t, inc, inc) 30 ctf_integer_hex(int, flag, flag) 31 ctf_integer_hex(int, old_rmw_flags, old_rmw_flags) 32 ctf_integer_hex(int, new_rmw_flags, new_rmw_flags) 33 ) 34 ) 35
| (1) Event unsigned_compare: | This less-than-zero comparison of an unsigned value is never true. "18446744073709551615UL < 0UL". |
36 TRACEPOINT_EVENT(oprequest, mark_flag_point, 37 TP_ARGS( 38 // osd_reqid_t 39 uint8_t, type, 40 int64_t, num, 41 uint64_t, tid, 42 int32_t, inc, 43 int, rmw_flags, 44 uint8_t, flag, 45 const char*, msg, 46 uint8_t, old_hit_flag_points, 47 uint8_t, new_hit_flag_points), 48 TP_FIELDS( 49 ctf_integer(uint8_t, type, type) 50 ctf_integer(int64_t, num, num) 51 ctf_integer(uint64_t, tid, tid) 52 ctf_integer(int32_t, inc, inc) 53 ctf_integer_hex(int, rmw_flags, rmw_flags) 54 ctf_integer_hex(uint8_t, flag, flag) 55 ctf_string(msg, msg) 56 ctf_integer_hex(uint8_t, old_hit_flag_points, old_hit_flag_points) 57 ctf_integer_hex(uint8_t, new_hit_flag_points, new_hit_flag_points) 58 ) 59 ) 60 61 #endif /* TRACING_OPREQUEST_H */ 62 63 #include <lttng/tracepoint-event.h> 64