• Masami Hiramatsu's avatar
    perf probe: Fix probe_point buffer overrun · 594087a0
    Masami Hiramatsu authored
    Fix probe_point array-size overrun problem. In some cases (e.g.
    inline function), one user-specified probe-point can be
    translated to many probe address, and it overruns pre-defined
    array-size. This also removes redundant MAX_PROBES macro
    definition.
    Signed-off-by: default avatarMasami Hiramatsu <mhiramat@redhat.com>
    Cc: systemtap <systemtap@sources.redhat.com>
    Cc: DLE <dle-develop@lists.sourceforge.net>
    Cc: <stable@kernel.org>
    LKML-Reference: <20100312232217.2017.45017.stgit@localhost6.localdomain6>
    [ Note that only root can create new probes. Eventually we should remove
      the MAX_PROBES limit, but that is a larger patch not eligible to
      perf/urgent treatment. ]
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    594087a0
builtin-probe.c 9.53 KB