[lkml]   [2011]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] arm: Add unwinding annotations for 64bit division functions
    On Wed, 2011-09-21 at 12:55 +0100, Russell King - ARM Linux wrote:
    > Instructions such as VFP, kprobes tracing, etc are expected fault
    > locations, and those are fairly well controlled where they can be placed.
    > With things like ftrace, it certainly is the case that the unwinder can
    > theoretically be called from almost anywhere in a function.

    Actually, kprobes can be places on any instruction in the kernel that
    isn't in the section .kprobes.text.

    I also strongly suspect that stack unwinding won't happen correctly
    across the boundary between the kprobes handling code and the function
    which was probed - there's an awful lot of stack jiggery pokery going on


     \ /
      Last update: 2011-09-22 10:13    [W:0.022 / U:20.572 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site