+struct ust_app_map {
+ int enabled;
+ int handle;
+ /* Counters were sent to the UST tracer. */
+ int is_sent;
+ /*
+ * FIXME frdeso: what is difference between key and tracing_map_id
+ * Unique key used to identify the map.
+ */
+ uint64_t key;
+ /* Id of the tracing map set on creation. */
+ uint64_t tracing_map_id;
+ bool coalesce_hits;
+ enum lttng_map_bitness bitness;
+ char name[LTTNG_UST_SYM_NAME_LEN];
+ struct lttng_ust_object_data *obj;
+ struct ust_app_counter_list counters;
+ /* Session pointer that owns this object. */
+ struct ust_app_session *session;
+ struct lttng_ht *events;
+ struct ltt_ust_map_dead_pid_kv_values *dead_app_kv_values;
+
+ size_t bucket_count;
+ struct ustctl_daemon_counter *map_handle;
+ /*
+ * Node indexed by channel name in the channels' hash table of a session.
+ */
+ struct lttng_ht_node_str node;
+ /*
+ * Node indexed by UST channel object descriptor (handle). Stored in the
+ * ust_objd hash table in the ust_app object.
+ */
+ struct lttng_ht_node_ulong ust_objd_node;
+ /* For delayed reclaim */
+ struct rcu_head rcu_head;
+};
+