1config BR2_PACKAGE_TRACE_CMD 2 bool "trace-cmd" 3 # pthread_setaffinity_np 4 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL 5 depends on BR2_USE_MMU # fork() 6 depends on !BR2_STATIC_LIBS # dlopen() 7 depends on BR2_TOOLCHAIN_HAS_THREADS # libtracefs 8 select BR2_PACKAGE_LIBTRACEEVENT 9 select BR2_PACKAGE_LIBTRACEFS 10 help 11 Command line reader for ftrace. 12 13 To use this profiling tool, you should enable ftrace in your 14 kernel configuration. This command collect traces on your 15 target. You can analyse these traces on the target or on 16 the host via the gui "kernel shark" 17 18 http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git 19 20comment "trace-cmd needs a toolchain w/ threads, NPTL, dynamic library" 21 depends on BR2_USE_MMU 22 depends on !BR2_TOOLCHAIN_HAS_THREADS || \ 23 !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS 24