1*4882a593SmuzhiyunSUMMARY = "Generates traces of I/O traffic on block devices" 2*4882a593SmuzhiyunDESCRIPTION = "blktrace is a block layer IO tracing mechanism which provides \ 3*4882a593Smuzhiyundetailed information about request queue operations up to user space. There \ 4*4882a593Smuzhiyunare three major components: a kernel component, a utility to record the i/o \ 5*4882a593Smuzhiyuntrace information for the kernel to user space, and utilities to analyse and \ 6*4882a593Smuzhiyunview the trace information." 7*4882a593SmuzhiyunHOMEPAGE = "http://brick.kernel.dk/snaps/" 8*4882a593SmuzhiyunLICENSE = "GPL-2.0-only" 9*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunDEPENDS = "libaio" 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunSRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunPV = "1.3.0+git${SRCPV}" 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunSRC_URI = "git://git.kernel.dk/blktrace.git;branch=master" 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunS = "${WORKDIR}/git" 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunEXTRA_OEMAKE = "\ 22*4882a593Smuzhiyun 'CC=${CC}' \ 23*4882a593Smuzhiyun 'CFLAGS=${CFLAGS}' \ 24*4882a593Smuzhiyun 'LDFLAGS=${LDFLAGS}' \ 25*4882a593Smuzhiyun" 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun# There are a few parallel issues: 28*4882a593Smuzhiyun# 1) ../rbtree.o: error adding symbols: Invalid operation 29*4882a593Smuzhiyun# collect2: error: ld returned 1 exit status 30*4882a593Smuzhiyun# Makefile:42: recipe for target 'btt' failed 31*4882a593Smuzhiyun# 2) git/blkiomon.c:216: undefined reference to `rb_insert_color' 32*4882a593Smuzhiyun# collect2: error: ld returned 1 exit status 33*4882a593Smuzhiyun# Makefile:27: recipe for target 'blkparse' failed 34*4882a593Smuzhiyun# 3) ld: rbtree.o: invalid string offset 128 >= 125 for section `.strtab' 35*4882a593Smuzhiyun# 4) btreplay.o: file not recognized: File truncated 36*4882a593Smuzhiyun# collect2: error: ld returned 1 exit status 37*4882a593Smuzhiyun# btreplay/btreplay.c:47:18: fatal error: list.h: No such file or directory 38*4882a593SmuzhiyunPARALLEL_MAKE = "" 39*4882a593Smuzhiyun 40*4882a593Smuzhiyundo_install() { 41*4882a593Smuzhiyun oe_runmake ARCH="${ARCH}" prefix=${prefix} \ 42*4882a593Smuzhiyun mandir=${mandir} DESTDIR=${D} install 43*4882a593Smuzhiyun} 44*4882a593Smuzhiyun 45