Bug 4352 - prune pn-depends.dot, packages-depends.dot and task-depends.dot
Summary: prune pn-depends.dot, packages-depends.dot and task-depends.dot
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 1.5 M3
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-19 11:32 UTC by Robert Yang
Modified: 2013-07-15 03:21 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2013-04-19 11:32:32 UTC
There are too many lines in pn-depends.dot, packages-depends.dot and task-depends.dot, which makes the output picture very big and hard to read, for example:

1) bitbake -g core-image-sato
2) dot -Tpng -o pn-depend.png pn-depends.dot

Then pn-depend.png would be around 5M, and the size is 32767 * 438 pixes, a very *long* picture.

Maybe we can remove the indirect depends to make it more readable, for example:

   A -> B
   B -> C
   A -> C 

The "A -> C" can be removed/hided

We may do it in either of the following way:

1) Enhance "bitbake -g" to remove/hide the indirect depends.

Or

2) Add a single script in oe-core/scripts to remove/hide the indirect depends for the dot file.
Comment 1 Kai Kang 2013-07-15 03:21:49 UTC
Command 'tred' from package ghaphviz is used to remove edges implied by transitivity in dot file.

See also: http://manned.org/tred/fa776c87

So this feature could be closed.