summaryrefslogtreecommitdiffstats
path: root/src/tracing/mgroprequest.tp
blob: 06d43f37698494a122ce038782dfe549a7662549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "include/int_types.h"

TRACEPOINT_EVENT(mgroprequest, set_rmw_flags,
    TP_ARGS(
        int,      flag,
        int,      old_rmw_flags,
        int,      new_rmw_flags),
    TP_FIELDS(
        ctf_integer_hex(int, flag, flag)
        ctf_integer_hex(int, old_rmw_flags, old_rmw_flags)
        ctf_integer_hex(int, new_rmw_flags, new_rmw_flags)
    )
)

TRACEPOINT_EVENT(mgroprequest, mark_flag_point,
    TP_ARGS(
        uint8_t,  flag,
        const char*,    msg,
        uint8_t,  old_hit_flag_points,
        uint8_t,  new_hit_flag_points),
    TP_FIELDS(
        ctf_integer_hex(uint8_t, flag, flag)
        ctf_string(msg, msg)
        ctf_integer_hex(uint8_t, old_hit_flag_points, old_hit_flag_points)
        ctf_integer_hex(uint8_t, new_hit_flag_points, new_hit_flag_points)
    )
)