blktrace: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
5d4734084d
commit
c5f14b7ef6
@ -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
package/blktrace/Config.in
Normal file
19
package/blktrace/Config.in
Normal file
@ -0,0 +1,19 @@
|
||||
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
package/blktrace/blktrace.hash
Normal file
2
package/blktrace/blktrace.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# From http://brick.kernel.dk/snaps/MD5SUMS
|
||||
md5 9a6ca62330c8adb0b6a4ea6cf8a55694 blktrace-1.1.0.tar.gz
|
22
package/blktrace/blktrace.mk
Normal file
22
package/blktrace/blktrace.mk
Normal file
@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
Loading…
Reference in New Issue
Block a user