diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-07-19 02:17:18 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-07-19 02:17:18 +0000 |
commit | c49cf315dadbf1cfe2f5e80c1f3c1ae27ad0761e (patch) | |
tree | 418bf8f4b7dc218a797d27061c8cc66cd285fa5f | |
parent | 939abdfed71349df87712559553593dc95f406c5 (diff) | |
download | cmogstored-c49cf315dadbf1cfe2f5e80c1f3c1ae27ad0761e.tar.gz |
We'll have tracing everywhere, so it's too much maintenance overhead to add it to every file which wants it. Increased build-times are a problem, but less than the maintenance overhead of finding the right headers.
-rw-r--r-- | cmogstored.h | 3 | ||||
-rw-r--r-- | http.c | 1 | ||||
-rw-r--r-- | ioq.c | 1 | ||||
-rw-r--r-- | mgmt.c | 1 | ||||
-rw-r--r-- | trywrite.c | 1 |
5 files changed, 3 insertions, 4 deletions
diff --git a/cmogstored.h b/cmogstored.h index 32868cb..3c1801c 100644 --- a/cmogstored.h +++ b/cmogstored.h @@ -652,3 +652,6 @@ void mog_ioq_adjust(struct mog_ioq *, unsigned value); void mog_ioq_destroy(struct mog_ioq *); bool mog_ioq_unblock(struct mog_fd *); void mog_ioq_requeue_prepare(struct mog_ioq *); + +/* systemtap stuff */ +#include "trace.h" @@ -3,7 +3,6 @@ * License: GPLv3 or later (see COPYING for details) */ #include "cmogstored.h" -#include "trace.h" #include "http.h" /* @@ -3,7 +3,6 @@ * License: GPLv3 or later (see COPYING for details) */ #include "cmogstored.h" -#include "trace.h" /* * This is a semaphore-like API with explicit queueing and activation, * so contended scheduling/wakeups happen via epoll/kqueue and there @@ -3,7 +3,6 @@ * License: GPLv3 or later (see COPYING for details) */ #include "cmogstored.h" -#include "trace.h" #include "mgmt.h" #include "digest.h" #include "ioprio.h" @@ -3,7 +3,6 @@ * License: GPLv3 or later (see COPYING for details) */ #include "cmogstored.h" -#include "trace.h" struct mog_wbuf { size_t len; |