callsite: support instruction pointer field
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index 8e0eb0542fc49ac2a76e5965a259396e58a137a1..e5c3240c5e039d1620cb240d6d38a034c3772b27 100644 (file)
@@ -121,12 +121,14 @@ struct ctf_callsite {
        char *func;
        char *file;
        uint64_t line;
+       uint64_t ip;
        struct bt_list_head node;
        enum {                                  /* Fields populated mask */
                CTF_CALLSITE_name       =       (1U << 0),
                CTF_CALLSITE_func       =       (1U << 1),
                CTF_CALLSITE_file       =       (1U << 2),
                CTF_CALLSITE_line       =       (1U << 3),
+               CTF_CALLSITE_ip         =       (1U << 4),
        } field_mask;
 };
 
This page took 0.032249 seconds and 4 git commands to generate.