mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
package/initviz: new package
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -20,6 +20,7 @@ source "$BR2_EXTERNAL_INFIX_PATH/package/firewall/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/package/greenpak-programmer/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/package/ifupdown-ng/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/package/iito/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/package/initviz/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/package/k8s-logger/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/package/keyack/Config.in"
|
||||
source "$BR2_EXTERNAL_INFIX_PATH/package/klish-plugin-infix/Config.in"
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_INITVIZ
|
||||
bool "initviz"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
InitViz is a performance analysis and visualization tool for the
|
||||
boot process and system services. It consists of the bootchartd
|
||||
data collection daemon (bootchartd) that runs during boot to
|
||||
capture system activity, and InitViz the host visualization tool.
|
||||
|
||||
InitViz is a reimplementation and successor to the bootchart2
|
||||
project, offering a more feature-rich solution compared to the
|
||||
bootchartd subset available as a BusyBox applet.
|
||||
|
||||
To profile the boot process, append the following to the kernel
|
||||
command line:
|
||||
|
||||
init=/sbin/bootchartd initcall_debug printk.time=y quiet
|
||||
|
||||
The collected data can be visualized using the host-initviz
|
||||
tool, initviz.py, which is currently not built here.
|
||||
|
||||
https://github.com/finit-project/InitViz
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 28a059ca6d3cbc5f65809a18167d089fd0dc2be13cd6c640c56ddae47be01849 initviz-1.0.0-rc1.tar.gz
|
||||
sha256 54e1afa760fa3649fa47c7838ac937771e74af695d4cf7d907bc61c107c83dc9 COPYING
|
||||
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# initviz
|
||||
#
|
||||
################################################################################
|
||||
|
||||
INITVIZ_VERSION = 1.0.0-rc1
|
||||
INITVIZ_SITE = https://github.com/finit-project/InitViz/releases/download/$(INITVIZ_VERSION)
|
||||
INITVIZ_SOURCE = initviz-$(INITVIZ_VERSION).tar.gz
|
||||
INITVIZ_LICENSE = GPL-2.0-or-later
|
||||
INITVIZ_LICENSE_FILES = COPYING
|
||||
|
||||
# Target package: bootchartd collector daemon
|
||||
define INITVIZ_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(@D) collector
|
||||
endef
|
||||
|
||||
define INITVIZ_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
DESTDIR=$(TARGET_DIR) \
|
||||
EARLY_PREFIX= \
|
||||
install-collector
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user