X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmain.c;h=54093b267cd1b129d19d74ded454fae556ab9802;hb=48f6f3c280c4b511fdbdc3a650b2f4aa7040fc97;hp=2ec66f74dd1e2ab059fb43ead5b0346a41bd7aed;hpb=c71d80de34d26b32f6f8711419c494c0a77a1888;p=lttv.git diff --git a/ltt/branches/poly/lttv/main.c b/ltt/branches/poly/lttv/main.c index 2ec66f74..54093b26 100644 --- a/ltt/branches/poly/lttv/main.c +++ b/ltt/branches/poly/lttv/main.c @@ -1,10 +1,11 @@ +#include +#include + #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 @@ -124,6 +125,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);