From 6eb05e4feb4700acdc9d0e1e2778859562ad1bb7 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Tue, 3 Nov 2009 22:01:33 -0500 Subject: [PATCH] install tracer.h, add new ust/ust.h --- include/Makefile.am | 2 +- {libust => include/ust}/tracer.h | 0 include/ust/ust.h | 12 ++++++++++++ libust/Makefile.am | 2 +- libust/marker-control.c | 2 +- libust/marker.c | 2 +- libust/relay.c | 2 +- libust/serialize.c | 2 +- libust/tracectl.c | 2 +- libust/tracer.c | 2 +- ustd/lowlevel.c | 2 +- 11 files changed, 21 insertions(+), 9 deletions(-) rename {libust => include/ust}/tracer.h (100%) create mode 100644 include/ust/ust.h diff --git a/include/Makefile.am b/include/Makefile.am index 84c0b5f..38973be 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,4 +1,4 @@ nobase_include_HEADERS = ust/immediate.h ust/kernelcompat.h ust/marker.h \ - ust/tracepoint.h ust/processor.h + ust/tracepoint.h ust/processor.h ust/tracer.h ust/ust.h noinst_HEADERS = share.h usterr.h diff --git a/libust/tracer.h b/include/ust/tracer.h similarity index 100% rename from libust/tracer.h rename to include/ust/tracer.h diff --git a/include/ust/ust.h b/include/ust/ust.h new file mode 100644 index 0000000..158805c --- /dev/null +++ b/include/ust/ust.h @@ -0,0 +1,12 @@ +#ifndef UST_H +#define UST_H + +#include +#include +#include +#include +#include +#include +#include + +#endif /* UST_H */ diff --git a/libust/Makefile.am b/libust/Makefile.am index 6d99d0d..e23b5c9 100644 --- a/libust/Makefile.am +++ b/libust/Makefile.am @@ -1,7 +1,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm lib_LTLIBRARIES = libust.la -libust_la_SOURCES = buffer.h marker.c tracepoint.c channels.c channels.h marker-control.c marker-control.h relay.c relay.h tracer.c tracer.h tracercore.c tracercore.h serialize.c tracectl.c $(top_builddir)/libustcomm/ustcomm.c +libust_la_SOURCES = buffer.h marker.c tracepoint.c channels.c channels.h marker-control.c marker-control.h relay.c relay.h tracer.c tracercore.c tracercore.h serialize.c tracectl.c $(top_builddir)/libustcomm/ustcomm.c libust_la_LDFLAGS = -no-undefined -version-info 0:0:0 libust_la_LIBADD = -lpthread libust_la_CFLAGS = -DUST_COMPONENT="libust" diff --git a/libust/marker-control.c b/libust/marker-control.c index a0786ba..e88f001 100644 --- a/libust/marker-control.c +++ b/libust/marker-control.c @@ -35,7 +35,7 @@ #include //#include "list.h" -#include "tracer.h" +#include #include "usterr.h" #define DEFAULT_CHANNEL "cpu" diff --git a/libust/marker.c b/libust/marker.c index 47b6d11..146fbc9 100644 --- a/libust/marker.c +++ b/libust/marker.c @@ -36,10 +36,10 @@ #include #include +#include #include "usterr.h" #include "channels.h" #include "tracercore.h" -#include "tracer.h" __thread long ust_reg_stack[500]; volatile __thread long *ust_reg_stack_ptr = (long *) 0; diff --git a/libust/relay.c b/libust/relay.c index 408ce90..b6a2181 100644 --- a/libust/relay.c +++ b/libust/relay.c @@ -31,7 +31,7 @@ #include "relay.h" #include "channels.h" #include -#include "tracer.h" +#include #include "tracercore.h" #include "usterr.h" diff --git a/libust/serialize.c b/libust/serialize.c index b1859ed..ee8b828 100644 --- a/libust/serialize.c +++ b/libust/serialize.c @@ -39,7 +39,7 @@ #include #include "relay.h" -#include "tracer.h" +#include //#include "list.h" #include "usterr.h" diff --git a/libust/tracectl.c b/libust/tracectl.c index e28b315..6fb089d 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -30,7 +30,7 @@ #include #include -#include "tracer.h" +#include #include "usterr.h" #include "ustcomm.h" #include "relay.h" /* FIXME: remove */ diff --git a/libust/tracer.c b/libust/tracer.c index a3ace72..ce3bfd0 100644 --- a/libust/tracer.c +++ b/libust/tracer.c @@ -55,8 +55,8 @@ #include #include +#include #include "tracercore.h" -#include "tracer.h" #include "usterr.h" //ust// static void async_wakeup(unsigned long data); diff --git a/ustd/lowlevel.c b/ustd/lowlevel.c index 6a91acc..dbe03c1 100644 --- a/ustd/lowlevel.c +++ b/ustd/lowlevel.c @@ -17,7 +17,7 @@ #include -#include "tracer.h" +#include #include "ustd.h" #include "usterr.h" -- 2.34.1