aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2010-03-12 18:22:17 -0500
committerIngo Molnar <[email protected]>2010-03-13 08:32:22 +0100
commit594087a04eea544356f9c52e83c1a9bc380ce80f (patch)
tree30aef0f600edc6bb20d77974c9de2c923aabec8f /tools/perf/util/trace-event-scripting.c
parent9f591fd76afdc0e5192e9ed00a36f8efc0b4dfe6 (diff)
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 <[email protected]> Cc: systemtap <[email protected]> Cc: DLE <[email protected]> Cc: <[email protected]> LKML-Reference: <[email protected]> [ 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 <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions