xref: /OK3568_Linux_fs/buildroot/package/systemd-bootchart/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS
2	bool
3	# see src/architecture.h
4	default y if BR2_aarch64 || BR2_aarch64_be
5	default y if BR2_arm || BR2_armeb
6	default y if BR2_i386 || BR2_x86_64
7	default y if BR2_m68k
8	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
9	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
10	default y if BR2_sh
11	default y if BR2_sparc || BR2_sparc64
12
13config BR2_PACKAGE_SYSTEMD_BOOTCHART
14	bool "systemd-bootchart"
15	depends on BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS
16	depends on BR2_INIT_SYSTEMD
17	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
18	help
19	  systemd-bootchart is a tool, usually run at system startup,
20	  that collects the CPU load, disk load, memory usage, as well
21	  as per-process information from a running system. Collected
22	  results are output as an SVG graph.
23
24	  systemd-bootchart requires a Linux kernel >= 3.0 with the
25	  following options enabled:
26
27	  - CONFIG_SCHEDSTATS
28	  - CONFIG_SCHED_DEBUG
29
30	  These options will be automatically enabled by Buildroot if
31	  it is responsible for building the kernel. Otherwise, if you
32	  are building your kernel outside of Buildroot, make sure
33	  these options are enabled.
34
35	  http://www.freedesktop.org/software/systemd/man/systemd-bootchart.html
36
37comment "systemd-bootchart needs a toolchain w/ headers >= 3.17"
38	depends on BR2_PACKAGE_SYSTEMD_BOOTCHART_ARCH_SUPPORTS
39	depends on BR2_INIT_SYSTEMD
40	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
41