projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
put plugins+modules in right dir
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
main.c
diff --git
a/ltt/branches/poly/lttv/main.c
b/ltt/branches/poly/lttv/main.c
index fdb44c70e3e4f15e7ad0fd1a436460995bcc6020..db28acf3db6c909cf6796f53a4fa1654e06a2777 100644
(file)
--- a/
ltt/branches/poly/lttv/main.c
+++ b/
ltt/branches/poly/lttv/main.c
@@
-1,7
+1,10
@@
-#include <lttv/lttv.h>
-#include <lttv/trace.h>
-
+#include "lttv.h"
+#include "trace.h"
+#include "attribute.h"
+#include "hook.h"
+#include "option.h"
+#include "module.h"
/* The main program maintains a few central data structures and relies
on modules for the rest. These data structures may be accessed by modules
/* The main program maintains a few central data structures and relies
on modules for the rest. These data structures may be accessed by modules
@@
-11,7
+14,7
@@
they are loaded and initialized. */
they are loaded and initialized. */
-lttv_attributes *attributes_global;
+
static
lttv_attributes *attributes_global;
static lttv_hooks
*hooks_init_after,
static lttv_hooks
*hooks_init_after,
@@
-121,6
+124,12
@@
int main(int argc, char **argv) {
}
}
+lttv_attributes *lttv_global_attributes()
+{
+ return attributes_global;
+}
+
+
void lttv_module_option(void *hook_data)
{
lttv_module_load(aModule,aArgc,aArgv,STANDALONE);
void lttv_module_option(void *hook_data)
{
lttv_module_load(aModule,aArgc,aArgv,STANDALONE);
This page took
0.023254 seconds
and
4
git commands to generate.