Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    4

    Question 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

  2. #2
    Linux User fernape's Avatar
    Join Date
    Dec 2005
    Location
    Holland
    Posts
    301
    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

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    4
    Yea u r right I could use oprofile.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •