This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/10605] Unknown symbol in module error (Unknown symbol si_swapinfo)


------- Additional Comments From wenji dot huang at oracle dot com  2009-09-07 10:06 -------
(In reply to comment #4)
> but if I using a vendor-supplied kernel,how can I get this info?
> 
Need to do a little tricky things to implement your own si_swapinfo.
for non-cross compilation situation, you can follow this.
In si_swapinfo, there are only three kernel variables needed swap_info, 
nr_swap_pages, total_swap_pages.

1. To look up the address for variables from System.map
2. Do type cast, from address to structures or unsigned long.
3. Wrote your own si_swapinfo in reference of kernel source.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10605

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]