* Analyzing dependencies
@ 2016-04-13 6:05 Gary Thomas
2016-04-13 6:08 ` Khem Raj
0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2016-04-13 6:05 UTC (permalink / raw)
To: bitbake-devel
If I generate the dependency files (-g => *.dot files) for
my target recipe, is there a way to view/analyze them "off line"
much the same way as using "bitbake -u depexp"?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Analyzing dependencies
2016-04-13 6:05 Analyzing dependencies Gary Thomas
@ 2016-04-13 6:08 ` Khem Raj
2016-04-13 6:13 ` Robert Yang
2016-04-13 6:20 ` Gary Thomas
0 siblings, 2 replies; 6+ messages in thread
From: Khem Raj @ 2016-04-13 6:08 UTC (permalink / raw)
To: Gary Thomas; +Cc: bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
Use any program that reads dotty files
On Apr 12, 2016 11:05 PM, "Gary Thomas" <gary@mlbassoc.com> wrote:
> If I generate the dependency files (-g => *.dot files) for
> my target recipe, is there a way to view/analyze them "off line"
> much the same way as using "bitbake -u depexp"?
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>
[-- Attachment #2: Type: text/html, Size: 1217 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Analyzing dependencies
2016-04-13 6:08 ` Khem Raj
@ 2016-04-13 6:13 ` Robert Yang
2016-04-13 6:20 ` Gary Thomas
1 sibling, 0 replies; 6+ messages in thread
From: Robert Yang @ 2016-04-13 6:13 UTC (permalink / raw)
To: Khem Raj, Gary Thomas; +Cc: bitbake-devel
On 04/13/2016 02:08 PM, Khem Raj wrote:
> Use any program that reads dotty files
Such as dot from graphviz.
// Robert
>
> On Apr 12, 2016 11:05 PM, "Gary Thomas" <gary@mlbassoc.com
> <mailto:gary@mlbassoc.com>> wrote:
>
> If I generate the dependency files (-g => *.dot files) for
> my target recipe, is there a way to view/analyze them "off line"
> much the same way as using "bitbake -u depexp"?
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel@lists.openembedded.org
> <mailto:bitbake-devel@lists.openembedded.org>
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Analyzing dependencies
2016-04-13 6:08 ` Khem Raj
2016-04-13 6:13 ` Robert Yang
@ 2016-04-13 6:20 ` Gary Thomas
2016-07-13 22:43 ` Paul Eggleton
1 sibling, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2016-04-13 6:20 UTC (permalink / raw)
To: Khem Raj; +Cc: bitbake-devel
On 2016-04-13 08:08, Khem Raj wrote:
> Use any program that reads dotty files
>
Know of any interactive ones that let you explore like the 'depexp'?
> On Apr 12, 2016 11:05 PM, "Gary Thomas" <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> If I generate the dependency files (-g => *.dot files) for
> my target recipe, is there a way to view/analyze them "off line"
> much the same way as using "bitbake -u depexp"?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Analyzing dependencies
2016-04-13 6:20 ` Gary Thomas
@ 2016-07-13 22:43 ` Paul Eggleton
2016-07-14 2:39 ` Peter Kjellerstedt
0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2016-07-13 22:43 UTC (permalink / raw)
To: bitbake-devel; +Cc: Gary Thomas
On Wed, 13 Apr 2016 08:20:38 Gary Thomas wrote:
> On 2016-04-13 08:08, Khem Raj wrote:
> > Use any program that reads dotty files
>
> Know of any interactive ones that let you explore like the 'depexp'?
It's not quite like that but FYI I have found "xdot" useful for viewing dot
files - it performs well with reasonably large graphs (though still struggles
with the bitbake -g task graph unfortunately).
https://github.com/jrfonseca/xdot.py
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Analyzing dependencies
2016-07-13 22:43 ` Paul Eggleton
@ 2016-07-14 2:39 ` Peter Kjellerstedt
0 siblings, 0 replies; 6+ messages in thread
From: Peter Kjellerstedt @ 2016-07-14 2:39 UTC (permalink / raw)
To: Paul Eggleton, bitbake-devel@lists.openembedded.org; +Cc: Gary Thomas
> -----Original Message-----
> From: bitbake-devel-bounces@lists.openembedded.org [mailto:bitbake-
> devel-bounces@lists.openembedded.org] On Behalf Of Paul Eggleton
> Sent: den 14 juli 2016 00:44
> To: bitbake-devel@lists.openembedded.org
> Cc: Gary Thomas
> Subject: Re: [bitbake-devel] Analyzing dependencies
>
> On Wed, 13 Apr 2016 08:20:38 Gary Thomas wrote:
> > On 2016-04-13 08:08, Khem Raj wrote:
> > > Use any program that reads dotty files
> >
> > Know of any interactive ones that let you explore like the 'depexp'?
>
> It's not quite like that but FYI I have found "xdot" useful for viewing
> dot files - it performs well with reasonably large graphs (though still
> struggles with the bitbake -g task graph unfortunately).
>
> https://github.com/jrfonseca/xdot.py
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
To make it possible to view the BitBake graphs in a sane way, I recommend
to use gvpr and tred (from graphviz) to filter them.
Here is an example filter for gvpr that I have used to filter out native
recipes. It also changes the labels for each node to only be the recipe
name. To use it, first run "bitbake -g <recipe>" for the recipe you are
interested in, e.g., core-image-minimal. Then run
"gvpr -i -f filter_non-native.txt pn-depends.dot | tred | xdot.py&".
---- 8< -------- filter_non-native.txt ---------------------------------
N[match(label, "/meta") != -1 &&
match(label, "virtual:native:") == -1 &&
match(name, "-native") == -1]
N {
label = gsub(label, ' *');
}
---- >8 -------- filter_non-native.txt ---------------------------------
//Peter
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-07-14 2:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-13 6:05 Analyzing dependencies Gary Thomas
2016-04-13 6:08 ` Khem Raj
2016-04-13 6:13 ` Robert Yang
2016-04-13 6:20 ` Gary Thomas
2016-07-13 22:43 ` Paul Eggleton
2016-07-14 2:39 ` Peter Kjellerstedt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.