+#ifdef HAVE_TRACING
+/**
+ * \brief Set the category of an action.
+ *
+ * This functions changes the category only. It calls a surf function.
+ * \param execution The execution action
+ * \param category The tracing category
+ */
+void SIMIX_req_set_category(smx_action_t action, const char *category)
+{
+ s_smx_req_t req;
+
+ req.call = REQ_SET_CATEGORY;
+ req.set_category.action = action;
+ req.set_category.category = category;
+
+ SIMIX_request_push(&req);
+}
+#endif
+