[lkml]   [2011]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [tip:perf/urgent] perf symbols: Handle /proc/sys/kernel/kptr_restrict
    On Fri, May 27, 2011 at 1:35 AM, Ingo Molnar <> wrote:
    > I think the biggest problem is that it is yelling at us even when i'm
    > root - and root can access all the pointer values just fine:

    Instead of looking at the kptr_restrict file, please just look at the
    addresses in the kallsyms file, and if they are all zero, you know
    that it's not a usable kallsyms file (and you can pretty much assume
    that it's due to kptr_restrict).

    So I think the whole symbol__read_kptr_restrict() thing is just
    pointless. Don't do it.


     \ /
      Last update: 2011-05-27 17:55    [W:0.018 / U:7.796 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site