Patchwork [00/14] Improvements to pybootchartgui

login
register
mail settings
Submitter Peter Kjellerstedt
Date Nov. 15, 2013, 5:08 p.m.
Message ID <cover.1384535211.git.pkj@axis.com>
Download mbox
Permalink /patch/61821/
State New
Headers show

Pull-request

git://git.yoctoproject.org/poky-contrib pkj/pybootchartgui

Comments

Peter Kjellerstedt - Nov. 15, 2013, 5:08 p.m.
This corrects and improves pybootchartgui. It starts by importing the
relevant parts for pybootchartgui from the latest version (0.14.5) of
bootchart2 from "https://github.com/mmeeks/bootchart". It then corrects
a couple of problems (e.g., X scaling, X offset of the chart, and header
height), and finally adds a couple of improvements (e.g., disable
irrelevant options, draw a lot less ticks, and use "Show more" to show
all processes).

//Peter

The following changes since commit 4fdc3d77d4a875b7236536bf78849a4d1f6a7449:

  kbd: Fix stdarg related errors on uclibc (2013-11-08 17:31:36 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib pkj/pybootchartgui
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/pybootchartgui

Peter Kjellerstedt (14):
  pybootchartgui: Import pybootchartgui 0.14.5
  pybootchartgui: Make the horizontal scaling stay within bounds
  pybootchartgui: Set the initial state of "Show more" correctly
  pybootchartgui: Correct the X offset for the chart
  pybootchartgui: Use correct header height
  pybootchartgui: Avoid having overlapping process bars
  pybootchartgui: No need to do a double list comprehension over files
  pybootchartgui: Disable options that do not make sense
  pybootchartgui: Draw a lot less ticks
  pybootchartgui: Make "Show more" show all processes
  pybootchartgui: Make bars without a specified color white
  pybootchartgui: Reorder the legend to match the task execution order
  pybootchartgui: Add a color for the package_write_* tasks
  pybootchartgui: Add option --minutes to show time in minutes

 scripts/pybootchartgui/AUTHORS                     |  10 +-
 scripts/pybootchartgui/COPYING                     | 912 +++++++--------------
 scripts/pybootchartgui/MAINTAINERS                 |   3 +
 scripts/pybootchartgui/NEWS                        | 204 +++++
 .../pybootchartgui/{README => README.pybootchart}  |  19 +-
 scripts/pybootchartgui/pybootchartgui.py           |  16 +
 scripts/pybootchartgui/pybootchartgui/batch.py     |  53 +-
 scripts/pybootchartgui/pybootchartgui/draw.py      | 763 +++++++++++++----
 scripts/pybootchartgui/pybootchartgui/gui.py       | 597 ++++++++------
 scripts/pybootchartgui/pybootchartgui/main.py      |  79 +-
 scripts/pybootchartgui/pybootchartgui/main.py.in   | 183 +++++
 scripts/pybootchartgui/pybootchartgui/parsing.py   | 796 ++++++++++++++----
 .../pybootchartgui/pybootchartgui/process_tree.py  | 126 +--
 scripts/pybootchartgui/pybootchartgui/samples.py   | 226 +++--
 .../pybootchartgui/tests/parser_test.py            |  82 +-
 .../pybootchartgui/tests/process_tree_test.py      |  30 +-
 16 files changed, 2623 insertions(+), 1476 deletions(-)
 create mode 100644 scripts/pybootchartgui/MAINTAINERS
 create mode 100644 scripts/pybootchartgui/NEWS
 rename scripts/pybootchartgui/{README => README.pybootchart} (61%)
 mode change 100644 => 120000 scripts/pybootchartgui/pybootchartgui/main.py
 create mode 100644 scripts/pybootchartgui/pybootchartgui/main.py.in
Ross Burton - Nov. 15, 2013, 11:24 p.m.
Hi,

On 15 November 2013 17:08, Peter Kjellerstedt
<peter.kjellerstedt@axis.com> wrote:
> This corrects and improves pybootchartgui. It starts by importing the
> relevant parts for pybootchartgui from the latest version (0.14.5) of
> bootchart2 from "https://github.com/mmeeks/bootchart". It then corrects
> a couple of problems (e.g., X scaling, X offset of the chart, and header
> height), and finally adds a couple of improvements (e.g., disable
> irrelevant options, draw a lot less ticks, and use "Show more" to show
> all processes).

Excellent stuff, thanks for working on this.  Some time ago I spoke to
the bootchart2 maintainers and they were open to generalising their
code and merging our codebases - is this something you'd be
interesting in looking at?

Ross
Peter Kjellerstedt - Nov. 19, 2013, 12:16 p.m.
> -----Original Message-----
> From: Burton, Ross [mailto:ross.burton@intel.com]
> Sent: den 16 november 2013 00:25
> To: Peter Kjellerstedt
> Cc: OE-core
> Subject: Re: [OE-core] [PATCH 00/14] Improvements to pybootchartgui
> 
> Hi,
> 
> On 15 November 2013 17:08, Peter Kjellerstedt
> <peter.kjellerstedt@axis.com> wrote:
> > This corrects and improves pybootchartgui. It starts by importing the
> > relevant parts for pybootchartgui from the latest version (0.14.5) of
> > bootchart2 from "https://github.com/mmeeks/bootchart". It then
> corrects
> > a couple of problems (e.g., X scaling, X offset of the chart, and
> header
> > height), and finally adds a couple of improvements (e.g., disable
> > irrelevant options, draw a lot less ticks, and use "Show more" to
> show
> > all processes).
> 
> Excellent stuff, thanks for working on this.  Some time ago I spoke to
> the bootchart2 maintainers and they were open to generalising their
> code and merging our codebases - is this something you'd be
> interesting in looking at?
> 
> Ross

Unfortunately I do not think so at this time.

//Peter