- char *val_one = xbt_strdup ("1");
- xbt_dict_set (created_categories, category, &val_one, xbt_free);
+ /* for registering application categories on top of platform */
+ snprintf(state, 100, "b%s", category);
+ if (IS_TRACING_PLATFORM)
+ pajeDefineVariableTypeWithColor(state, "LINK", state, final_color);
+ snprintf(state, 100, "p%s", category);
+ if (IS_TRACING_PLATFORM)
+ pajeDefineVariableTypeWithColor(state, "HOST", state, final_color);
+
+ val_one = xbt_strdup("1");
+ xbt_dict_set(created_categories, category, &val_one, xbt_free);