src/amok/PeerManagement/peermanagement.c
)
+set(BINDINGS_SRC
+ src/bindings/bindings_global.c
+)
+
set(LUA_SRC
src/bindings/lua/simgrid_lua.c
src/bindings/lua/lua_task.c
${GRAS_COMMON_SRC}
${GRAS_SG_SRC}
${AMOK_SRC}
+ ${BINDINGS_SRC}
${JEDULE_SRC}
${RNGSTREAM_SRC}
)
--- /dev/null
+/* Copyright (c) 2012 Da SimGrid Team. All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#include <xbt/log.h>
+
+XBT_LOG_NEW_CATEGORY(bindings, "All bindings categories");
#include "xbt/fifo.h"
#include "mc_private.h"
-
+XBT_LOG_NEW_CATEGORY(mc, "All MC categories");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_global, mc,
"Logging specific to MC (global)");
#include "xbt/virtu.h"
#include "xbt/ex.h" /* ex_backtrace_display */
+XBT_LOG_NEW_CATEGORY(msg, "All MSG categories");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_kernel, msg,
"Logging specific to MSG (kernel)");
#include "xbt/ex.h" /* ex_backtrace_display */
#include "mc/mc.h"
+XBT_LOG_NEW_CATEGORY(simix, "All SIMIX categories");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_kernel, simix,
"Logging specific to SIMIX (kernel)");
#include "surf/surf_resource.h"
#include "xbt/xbt_os_thread.h"
+XBT_LOG_NEW_CATEGORY(surf, "All SURF categories");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_kernel, surf,
"Logging specific to SURF (kernel)");
0 /* additivity */
};
-XBT_LOG_NEW_CATEGORY(xbt, "All XBT categories (simgrid toolbox)");
-XBT_LOG_NEW_CATEGORY(surf, "All SURF categories");
-XBT_LOG_NEW_CATEGORY(msg, "All MSG categories");
-XBT_LOG_NEW_CATEGORY(simix, "All SIMIX categories");
-XBT_LOG_NEW_CATEGORY(mc, "All MC categories");
-XBT_LOG_NEW_CATEGORY(bindings, "All bindings categories");
-
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(log, xbt,
"Loggings from the logging mechanism itself");
#include "xbt_modinter.h" /* prototype of other module's init/exit in XBT */
+XBT_LOG_NEW_CATEGORY(xbt, "All XBT categories (simgrid toolbox)");
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(module, xbt, "module handling");
char *xbt_binary_name = NULL; /* Mandatory to retrieve neat backtraces */