Results 1 to 3 of 3
Hello
I am trying to implement a kernel module in which I want to search the System.map file for certain symbols. In x86 these are bounded by loops_per_jiffy and boot_cpu_data. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-05-2006 #1Just Joined!
- Join Date
- Dec 2005
- Posts
- 4
What are the bounds for System.map file in ppc64 kernel
Hello
I am trying to implement a kernel module in which I want to search the System.map file for certain symbols. In x86 these are bounded by loops_per_jiffy and boot_cpu_data. However the ppc64 arch does not have the latter. How can I find the bounds for ppc64, I am running 2.6.16-rc4-3-ppc64 flavor on POWER5.
I can currently grep it from command line, but I want to automate it.
Thanks for all help
- 06-06-2006 #2
I suppose that you are trying to get the syscall table

Well, the problem with that aproximation is that it is very system dependent. That's the reason because the syscall table is not exported to modules anymore.
However, that two symbols are needed only for performance reasons (you delimite the search zone with them) but you could scan all the kernel address space.
But remember... if you want to get syscalls for no malicious software try to use Oprofile that is merged into the kernel
Best regards
- 06-07-2006 #3Just Joined!
- Join Date
- Dec 2005
- Posts
- 4
Yea u r right I could use oprofile.


Reply With Quote
