Re: [XenAccess-devel] start_code and end_code are the same address?
Status: Beta
Brought to you by:
bdpayne
From: Bryan D. P. <br...@th...> - 2006-07-25 16:32:09
|
I'm not sure that I would trust those values :-) Your intuition is right that these addresses would be in the kernel space and that the start and end code addresses should be different. I had some problems with this functionality when Xen upgraded to the 2.6.16 kernel. Specifically, the offsets where this data is located changed and I haven't had the time to figure out the new offsets yet. Ultimately, I'm interested in a longer term solution that would determine the offsets automatically. In the near term, if you want to get the correct values then you could dump the memory from this process's task struct and determine the offset to the appropriate values. I'll try to set asside some time this week to do this and get the correct offsets into subversion. Cheers, bryan On Tue, 25 Jul 2006, Daniele Sgandurra wrote: > Hello! > There are a couple of questions I would like to ask > you: this is the the output from process-data: > > start_code = 0xc03e2e88 > end_code = 0xc03e2e88 > [...] > > Why "start_code" and "end_code" are the same address? > (I've tried with other pids and the result is the > same). > My other question is about the fact that in Linux code > above 0xc0000000 is kernel code, so are these > addresses remapped? (I see that there are two types of > memory in Xen: a 'machine memory' and a > 'pseudo-physical memory', but I'm not sure it has > something to do with it..) > > Thanks! > > > > Chiacchiera con i tuoi amici in tempo reale! > http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > XenAccess-devel mailing list > Xen...@li... > https://lists.sourceforge.net/lists/listinfo/xenaccess-devel > |