+/*
+ * stackshot_config_set_delta_timestamp: set the timestamp to use as the basis for the delta stackshot
+ *
+ * This timestamp will be used along with STACKSHOT_COLLECT_DELTA_SNAPSHOT flag to collect delta stackshots
+ *
+ * Inputs: stackshot_config - a pointer to a stackshot_config_t
+ * delta_timestamp - timestamp in MachAbsoluteTime units to be used as the basis for a delta stackshot
+ *
+ * Outputs: -1 if the passed stackshot config is NULL or there is existing stackshot buffer set.
+ * 0 on success
+ */
+int
+stackshot_config_set_delta_timestamp(stackshot_config_t *stackshot_config, uint64_t delta_timestamp)
+{
+ if (stackshot_config == NULL || (void *)stackshot_config->sc_buffer != NULL) {
+ return -1;
+ }
+
+ stackshot_config->sc_delta_timestamp = delta_timestamp;
+
+ return 0;
+}
+
+