Upstream recipe for bootchart2 from WebOS
cover Upstream recipe for bootchart2 from WebOS
Hello list,
This series adds a recipe for the bootchart2 daemon (a fork of the original bootchart.) It's based on a recipe from Meta-WebOS, but with extensive modifications.
It is intended that bootchart2 will supersede the other bootchart daemons kicking around in oe-core/meta-oe. See bug 5893. [1]
Regards,
-Max Eliaser
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=5893
The following changes since commit 5452824960e8e77005a25ac11fd069d927523d3e:
default-distrovars.inc: Remove unused variable 'LIMIT_BUILT_LOCALES' (2014-06-13 13:08:44 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib meliaser/bootchart2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=meliaser/bootchart2
Max Eliaser (2):
python: python-pycairo: add python-pycairo-native
bootchart2: create recipe for bootchart2
.../bootchart2/bootchart2/bootchartd_stop.sh | 18 +++ meta/recipes-devtools/bootchart2/bootchart2_git.bb | 135 +++++++++++++++++++++ .../python/python-pycairo_1.10.0.bb | 2 + 3 files changed, 155 insertions(+) create mode 100644 meta/recipes-devtools/bootchart2/bootchart2/bootchartd_stop.sh create mode 100644 meta/recipes-devtools/bootchart2/bootchart2_git.bb
Signature · 1 line
1.8.3.2
PATCH 1/2 python: python-pycairo: add python-pycairo-native
A -native variant of python-pycairo will be necessary for running the native version of pybootchartgui. It may also come in handy for running other Python utilities from the native sysroot.
--- meta/recipes-devtools/python/python-pycairo_1.10.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python-pycairo_1.10.0.bb +2 -0
@@ -20,6 +20,8 @@ S = "${WORKDIR}/py2cairo-${PV}" inherit distutils pkgconfig +BBCLASSEXTEND = "native" + do_configure() { BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} ./waf configure --prefix=${D}${prefix} --libdir=${D}${libdir} }
Signature · 1 line
1.8.3.2
PATCH 2/2 bootchart2: create recipe for bootchart2
In reply to Max EliaserThis recipe creates packages for the bootchart2 system-wide profiler daemon and related utilities. It fetches the Git revision corresponding to the 0.14.6 release of bootchart2.
The recipe contains three packages:
* bootchart2 - The daemon itself.
* pybootchartgui - Python program to visualize and display the data
collected by bootchart2 or compatible daemons such as the original bootchart.
* bootchartd-stop-initscript - A SysV init script to stop data collection
when booting completes.
Depending on how you wish to use bootchart2, you may not end up having all three of those packages installed on your image.
There is also a bootchart2-native variant, which is intended solely to provide a native version of the pybootchartgui utility. The non-cross-compiled version of the bootchart2 daemon has not been tested at all, don't use it.
The recipe is extensively documented. Read the comments at the beginning of bootchart2_git.bb or else you'll have no idea how to use it.
This recipe is based on a recipe from meta-WebOS. The WebOS people had some extra code (including patches against the bootchart2 code) to support the Upstart init system. However, since upstream Poky does not support Upstart, that stuff is being left behind. The WebOS people can write a bbappend to re- add it.
Original recipe written by Wonhong Kwon of LG.
--- .../bootchart2/bootchart2/bootchartd_stop.sh | 18 +++ meta/recipes-devtools/bootchart2/bootchart2_git.bb | 135 +++++++++++++++++++++ 2 files changed, 153 insertions(+) create mode 100644 meta/recipes-devtools/bootchart2/bootchart2/bootchartd_stop.sh create mode 100644 meta/recipes-devtools/bootchart2/bootchart2_git.bb
meta/recipes-devtools/bootchart2/bootchart2/bootchartd_stop.sh new file +18 -0
@@ -0,0 +1,18 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: bootchartd_stop +# Required-Start: $remote_fs $all +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: +# Short-Description: Stop bootchartd collection +# Description: This script accompanies bootchartd from bootchart2. +# bootchartd should stop detect the end of the boot process +# automatically if a window manager is launched, but for +# command-line only operating systems, this script should be +# used instead. +### END INIT INFO + +/sbin/bootchartd stop + +: exit 0
meta/recipes-devtools/bootchart2/bootchart2_git.bb new file +135 -0
135 lines not on this page · raw message
Signature · 1 line
1.8.3.2
Quoted 9 lines · Max Eliaser
Hello list,
This series adds a recipe for the bootchart2 daemon (a fork of the original bootchart.) It's based on a recipe from Meta-WebOS, but with extensive modifications.
It is intended that bootchart2 will supersede the other bootchart daemons kicking around in oe-core/meta-oe. See bug 5893. [1]
Once this is merged, will you be sending another patch around to remove bootchart from OE-Core and possibly move it into meta-oe if appropriate?
You should also add the [YOCTO #5893] to the 2/2 patch commit message.
Thanks
Sau!
Quoted 24 lines
Regards,
-Max Eliaser[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=5893
The following changes since commit5452824960e8e77005a25ac11fd069d927523d3e:default-distrovars.inc: Remove unused variable 'LIMIT_BUILT_LOCALES' (2014-06-13 13:08:44 +0100)are available in the git repository at:
git://git.yoctoproject.org/poky-contribmeliaser/bootchart2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=meliaser/bootchart2Max Eliaser (2):
python: python-pycairo: add python-pycairo-native
bootchart2: create recipe for bootchart2.../bootchart2/bootchart2/bootchartd_stop.sh | 18 +++ meta/recipes-devtools/bootchart2/bootchart2_git.bb | 135 +++++++++++++++++++++ .../python/python-pycairo_1.10.0.bb | 2 + 3 files changed, 155 insertions(+)create mode 100644
meta/recipes-devtools/bootchart2/bootchart2/bootchartd_stop.shcreate mode 100644 meta/recipes-devtools/bootchart2/bootchart2_git.bb