diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2010-11-23 00:01:10 -0600 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-11-22 22:34:39 -0800 |
commit | 998ceaeaf1ec9b71eb630cc6e3dd3ba612316e8c (patch) | |
tree | 8d999dafea23c9688265c3dcfe8f94dc5fb28817 /meta/recipes-kernel/blktrace/blktrace | |
parent | 34660ef99020b9e3386df7b388f866fc7aa47d5c (diff) | |
download | openembedded-core-998ceaeaf1ec9b71eb630cc6e3dd3ba612316e8c.tar.gz openembedded-core-998ceaeaf1ec9b71eb630cc6e3dd3ba612316e8c.tar.bz2 openembedded-core-998ceaeaf1ec9b71eb630cc6e3dd3ba612316e8c.tar.xz openembedded-core-998ceaeaf1ec9b71eb630cc6e3dd3ba612316e8c.zip |
blktrace: new package
Add blktrace, a tool for generating traces of the I/O traffic on block
devices.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta/recipes-kernel/blktrace/blktrace')
-rw-r--r-- | meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch b/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch new file mode 100644 index 000000000..87ee24ea3 --- /dev/null +++ b/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch @@ -0,0 +1,53 @@ +Index: git/Makefile +=================================================================== +--- git.orig/Makefile 2010-11-22 11:20:14.303472770 -0600 ++++ git/Makefile 2010-11-22 14:11:19.152635423 -0600 +@@ -1,5 +1,3 @@ +-CC = gcc +-CFLAGS = -Wall -O2 -g -W + ALL_CFLAGS = $(CFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + PROGS = blkparse blktrace verify_blkparse blkrawverify blkiomon + LIBS = -lpthread +@@ -11,13 +9,13 @@ + all: $(ALL) + + btt/btt: +- $(MAKE) -C btt ++ CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btt CC="${CC}" CFLAGS="${CFLAGS}" + + btreplay/btrecord: +- $(MAKE) -C btreplay ++ CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btreplay CC="${CC}" CFLAGS="${CFLAGS}" + + btreplay/btreplay: +- $(MAKE) -C btreplay ++ CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btreplay CC="${CC}" CFLAGS="${CFLAGS}" + + %.o: %.c + $(CC) -o $*.o -c $(ALL_CFLAGS) $< +Index: git/btreplay/Makefile +=================================================================== +--- git.orig/btreplay/Makefile 2010-11-22 11:21:12.972679035 -0600 ++++ git/btreplay/Makefile 2010-11-22 14:07:01.492839945 -0600 +@@ -5,8 +5,6 @@ + # NDEBUG - Defined: no asserts, Undefined: asserts + # + +-CC = gcc +-CFLAGS = -Wall -W -O2 -g + INCS = -I. -I.. -I../btt + OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG + XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +Index: git/btt/Makefile +=================================================================== +--- git.orig/btt/Makefile 2010-11-22 11:21:01.833758370 -0600 ++++ git/btt/Makefile 2010-11-22 14:07:15.783258253 -0600 +@@ -5,8 +5,6 @@ + # NDEBUG - Defined: no asserts, Undefined: asserts + # + +-CC = gcc +-CFLAGS = -Wall -W -O2 -g + INCS = -I. -I.. + XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + override CFLAGS += $(INCS) $(XCFLAGS) |