lkml.org 
[lkml]   [2020]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/4] perf-probe: Fix GNU IFUNC probe issue etc.
    Date
    Hi,

    Here are patches to fix some issues of probing on GNU IFUNC, duplicated
    symbols, and memory leak, which were reported by Andi.

    Andi reported that some issues on probing memcpy function in glibc,
    which was related to GNU IFUNC (indirect function). As I described
    in the patch [4/4], it is hard to support probing on the functions
    which are selected by GNU indirect function because those are chosen
    at runtime. I think we need a user-mode helper in uprobes to find which
    one is chosen at runtime. (Oleg, Srikar, would you have any idea?)

    While cleaning up the patches, I also found a memory leak problem
    so fixed it ([3/4]).

    Thank you,

    ---

    Masami Hiramatsu (4):
    perf-probe: Avoid setting probes on same address on same event
    perf-probe: Fix wrong variable warning when the probe point is not found
    perf-probe: Fix memory leakage when the probe point is not found
    perf-probe: Warn if the target function is GNU Indirect function


    tools/perf/util/probe-event.c | 14 ++++++++++++++
    tools/perf/util/probe-finder.c | 5 ++++-
    2 files changed, 18 insertions(+), 1 deletion(-)

    --
    Masami Hiramatsu (Linaro) <mhiramat@kernel.org>

    \
     
     \ /
      Last update: 2020-07-09 10:07    [W:3.609 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site