+/*
+ * validate_options
+ *
+ * Make sure that all options passed to the command line
+ * are compatible with each others.
+ *
+ * On error, return -1
+ * On success, return 0
+ */
+static int validate_options(void)
+{
+ if ((opt_session_uuid == NULL) &&
+ (opt_create_trace)) {
+ ERR("Can't create trace without a session ID.\nPlease specify using --session UUID");
+ goto error;
+ }
+
+ return 0;
+
+error:
+ return -1;
+}
+