blob: 288784236ac8b7f24d9c81e0cbfc9edaa32c96b3 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Generates traces of I/O traffic on block devices"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "blktrace is a block layer IO tracing mechanism which provides \
3detailed information about request queue operations up to user space. There \
4are three major components: a kernel component, a utility to record the i/o \
5trace information for the kernel to user space, and utilities to analyse and \
6view the trace information."
Brad Bishopd7bf8c12018-02-25 22:55:05 -05007HOMEPAGE = "http://brick.kernel.dk/snaps/"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00008LICENSE = "GPL-2.0-only"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
10
11DEPENDS = "libaio"
12
Andrew Geissler09036742021-06-25 14:25:14 -050013SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050014
Andrew Geissler09036742021-06-25 14:25:14 -050015PV = "1.3.0+git${SRCPV}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016
Andrew Geissler1e488cd2023-10-03 09:44:52 -050017SRC_URI = "git://git.kernel.dk/blktrace.git;branch=master;protocol=https \
18 file://0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch \
19 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
21S = "${WORKDIR}/git"
22
23EXTRA_OEMAKE = "\
24 'CC=${CC}' \
25 'CFLAGS=${CFLAGS}' \
26 'LDFLAGS=${LDFLAGS}' \
27"
28
29# There are a few parallel issues:
30# 1) ../rbtree.o: error adding symbols: Invalid operation
31# collect2: error: ld returned 1 exit status
32# Makefile:42: recipe for target 'btt' failed
33# 2) git/blkiomon.c:216: undefined reference to `rb_insert_color'
34# collect2: error: ld returned 1 exit status
35# Makefile:27: recipe for target 'blkparse' failed
36# 3) ld: rbtree.o: invalid string offset 128 >= 125 for section `.strtab'
37# 4) btreplay.o: file not recognized: File truncated
38# collect2: error: ld returned 1 exit status
39# btreplay/btreplay.c:47:18: fatal error: list.h: No such file or directory
40PARALLEL_MAKE = ""
41
42do_install() {
43 oe_runmake ARCH="${ARCH}" prefix=${prefix} \
44 mandir=${mandir} DESTDIR=${D} install
45}
46