(updated) RFC/Patch xmon pte/pgd/userspace address additions.

will schmidt will_schmidt at vnet.ibm.com
Fri May 13 05:59:30 EST 2005


Hi Folks,
    Per Ben's prompting me, :-)    this version is updated to handle the 
additional pud_offset calls (part of the 4L header stuff).

- I've removed the try_spinlock code;
- As an alternative to duplicating lots of function to add mread calls
in place of references, I've added setjmp(bus_error_jmp) {} around what
seem more likely to be critical areas.
- cleaned up spacing
- changed most of the function names to be xmon_xxx instead of wm_xxx.

these functions show up under a submenu 'w'.   use "w?" at xmon> prompt
to get the help blurb.



> the bulk of my intent was to make it easier for me to poke at memory within a particular user process.
> 
> I realize that the spacing is a bit screwed up, and the function names should eventually change.   Because i couldnt decide on letters for the new functions, i put them under a submenu 'w'.
> 
> wP will dump info on all processes.
> 
> wp 0xabc  will make process with pid 0xabc the active pid. <- active only with respect to xmon poking into memory.
> 
> wd 0xabcd1234 - will call through the pdg/pmd functions and return the kernel address corresponding to 0xabcd1234 within the processes memory space location.
> 
> wg  will dump gprs of the process/thread.



-Will
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xmon_pgd_may12.diff
Url: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050512/bf82fdeb/attachment.txt 


More information about the Linuxppc64-dev mailing list