Handling of the following enum are added:
LTTNG_EVENT_CONTEXT_INTERRUPTIBLE
LTTNG_EVENT_CONTEXT_PREEMPTIBLE
LTTNG_EVENT_CONTEXT_NEED_RESCHEDULE
LTTNG_EVENT_CONTEXT_MIGRATABLE
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
<xs:enumeration value="PTHREAD_ID" />
<xs:enumeration value="HOSTNAME" />
<xs:enumeration value="IP" />
+ <xs:enumeration value="INTERRUPTIBLE" />
+ <xs:enumeration value="PREEMPTIBLE" />
+ <xs:enumeration value="NEED_RESCHEDULE" />
+ <xs:enumeration value="MIGRATABLE" />
</xs:restriction>
</xs:simpleType>
return config_event_context_hostname;
case LTTNG_EVENT_CONTEXT_IP:
return config_event_context_ip;
+ case LTTNG_EVENT_CONTEXT_INTERRUPTIBLE:
+ return config_event_context_interruptible;
+ case LTTNG_EVENT_CONTEXT_PREEMPTIBLE:
+ return config_event_context_preemptible;
+ case LTTNG_EVENT_CONTEXT_NEED_RESCHEDULE:
+ return config_event_context_need_reschedule;
+ case LTTNG_EVENT_CONTEXT_MIGRATABLE:
+ return config_event_context_migratable;
default:
return NULL;
}