Add LTTNG_EVENT_EXCLUSION_NAME_AT() helper macro
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index 1e0ee5d450004bfea111e36b2447cac4bae52842..79091e34873a171599b7eabe90a72884c491766c 100644 (file)
@@ -336,6 +336,9 @@ struct lttng_event_exclusion {
        char names[0][LTTNG_SYMBOL_NAME_LEN];
 } LTTNG_PACKED;
 
+#define LTTNG_EVENT_EXCLUSION_NAME_AT(_exclusion, _i) \
+       (&(_exclusion)->names[_i][0])
+
 /*
  * Data structure for the response from sessiond to the lttng client.
  */
This page took 0.023705 seconds and 4 git commands to generate.