Hi Is there any site that provide the whole flow of the xen source code and how it works in term of the source code? Regards Jpeg _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Sat, May 25, 2013 at 09:44:40AM +0800, Jie Ping Quek wrote:> Hi > Is there any site that provide the whole flow of the xen source code and > how it works in term of the source code?You mean call-graph of the different functions? I think doxygen should do it but I am not entirely sure how to set that up.> > Regards > Jpeg> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
On Sat, 2013-05-25 at 09:44 +0800, Jie Ping Quek wrote:> Is there any site that provide the whole flow of the xen source > code and how it works in term of the source code?As far as I know there is only the source itself and the standard tools which you have available on Unix/Linux system such as grep and cscope (or the tags software of your choice). You may find http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions useful in framing your questions for the list in the future. Ian.
On Sat, May 25, 2013 at 2:44 AM, Jie Ping Quek <surfer197@gmail.com> wrote:> Hi > Is there any site that provide the whole flow of the xen source code and > how it works in term of the source code?Unfortunately not. There is a book about Xen below. It''s now a bit dated, but it might give you an idea what''s going on at a high level: http://www.amazon.com/The-Definitive-Guide-Xen-Hypervisor/dp/013234971X/ I mainly use grep and gtags when I''m finding my way around a new piece of software. Here is a rune that I''ve found particularly useful: find . -name "*.[cSh]" | xargs grep -H [whatever] -George P.S. If you do get the book, don''t try to implement the example scheduler. For one, the code in the book is buggy and doesn''t work. For two, schedulers are one of the most difficult parts of the system to debug, so it''s not a good place to start. :-)