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_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)
