Commit c5f14b7e authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

blktrace: new package

parent 5d473408
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ endif
endmenu

menu "Debugging, profiling and benchmark"
	source "package/blktrace/Config.in"
	source "package/bonnie/Config.in"
	source "package/cache-calibrator/Config.in"
	source "package/dhrystone/Config.in"
+19 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_BLKTRACE
	bool "blktrace"
	# Uses posix_spawn()
	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
	# Because of libaio arch depends
	depends on \
		BR2_arm   || BR2_armeb || BR2_avr32  || BR2_i386    || \
		BR2_m68k  || BR2_mips  || BR2_mipsel || BR2_powerpc || \
		BR2_sparc || BR2_x86_64
	select BR2_PACKAGE_LIBAIO
	help
	  blktrace is a block layer IO tracing mechanism which provides
	  detailed information about request queue operations
	  up to user space.

	  http://git.kernel.dk/?p=blktrace.git;a=summary

comment "blktrace needs a (e)glibc or musl toolchain"
	depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
+2 −0
Original line number Diff line number Diff line
# From http://brick.kernel.dk/snaps/MD5SUMS
md5	9a6ca62330c8adb0b6a4ea6cf8a55694	blktrace-1.1.0.tar.gz
+22 −0
Original line number Diff line number Diff line
################################################################################
#
# blktrace
#
################################################################################

BLKTRACE_VERSION = 1.1.0
BLKTRACE_SITE = http://brick.kernel.dk/snaps
BLKTRACE_DEPENDENCIES = libaio
BLKTRACE_LICENSE = GPLv2+
BLKTRACE_LICENSE_FILES = COPYING

define BLKTRACE_BUILD_CMDS
	$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef

define BLKTRACE_INSTALL_TARGET_CMDS
	$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \
		DESTDIR=$(TARGET_DIR) prefix=/usr
endef

$(eval $(generic-package))