From: Masami Hiramatsu Date: Fri, 12 Mar 2010 23:22:17 +0000 (-0500) Subject: perf probe: Fix probe_point buffer overrun X-Git-Tag: v2.6.34-rc3~25^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=594087a04eea544356f9c52e83c1a9bc380ce80f;p=pandora-kernel.git perf probe: Fix probe_point buffer overrun 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: Masami Hiramatsu Cc: systemtap Cc: DLE Cc: 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: Ingo Molnar --- Reading git-diff-tree failed