#224 Enhance operf to use kallsyms when no vmlinux file is passed

None
closed
None
6
2014-09-11
2012-10-08
No

OProfile should be able to obtain basic symbol information for the kernel from /proc/kallsyms. Note the following statement (from the kernel documentation) about the kptr_restrict sysctl value:

kptr_restrict:

This toggle indicates whether restrictions are placed on
exposing kernel addresses via /proc and other interfaces. When
kptr_restrict is set to (0), there are no restrictions. When
kptr_restrict is set to (1), the default, kernel pointers
printed using the %pK format specifier will be replaced with 0's
unless the user has CAP_SYSLOG. When kptr_restrict is set to
(2), kernel pointers printed using %pK will be replaced with 0's
regardless of privileges.

Discussion

  • Maynard Johnson

    Maynard Johnson - 2013-09-25
    • assigned_to: Maynard Johnson --> Carl Love
    • Group: -->
     
  • Maynard Johnson

    Maynard Johnson - 2013-12-16

    A patch that adds this new capability was posted to the oprofile-list on Dec 10 was committed on Dec 11 with minor changes.

     
  • Maynard Johnson

    Maynard Johnson - 2013-12-16
    • status: open --> open-fixed
     
  • Maynard Johnson

    Maynard Johnson - 2014-09-11
    • Status: open-fixed --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks