mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
40
package/systemd-bootchart/Config.in
Normal file
40
package/systemd-bootchart/Config.in
Normal file
@@ -0,0 +1,40 @@
|
||||
config BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS
|
||||
bool
|
||||
# see src/architecture.h
|
||||
default y if BR2_aarch64 || BR2_aarch64_be
|
||||
default y if BR2_arm || BR2_armeb
|
||||
default y if BR2_i386 || BR2_x86_64
|
||||
default y if BR2_m68k
|
||||
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
||||
default y if BR2_sh
|
||||
default y if BR2_sparc || BR2_sparc64
|
||||
|
||||
config BR2_PACKAGE_SYSTEMD_BOOTCHART
|
||||
bool "systemd-bootchart"
|
||||
depends on BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS
|
||||
depends on BR2_INIT_SYSTEMD
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
|
||||
help
|
||||
systemd-bootchart is a tool, usually run at system startup,
|
||||
that collects the CPU load, disk load, memory usage, as well
|
||||
as per-process information from a running system. Collected
|
||||
results are output as an SVG graph.
|
||||
|
||||
systemd-bootchart requires a Linux kernel >= 3.0 with the
|
||||
following options enabled:
|
||||
|
||||
- CONFIG_SCHEDSTATS
|
||||
- CONFIG_SCHED_DEBUG
|
||||
|
||||
These options will be automatically enabled by Buildroot if
|
||||
it is responsible for building the kernel. Otherwise, if you
|
||||
are building your kernel outside of Buildroot, make sure
|
||||
these options are enabled.
|
||||
|
||||
http://www.freedesktop.org/software/systemd/man/systemd-bootchart.html
|
||||
|
||||
comment "systemd-bootchart needs a toolchain w/ headers >= 3.17"
|
||||
depends on BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS
|
||||
depends on BR2_INIT_SYSTEMD
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
|
||||
Reference in New Issue
Block a user