diff options
author | Jiri Olsa <[email protected]> | 2018-09-07 12:24:55 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-09-19 10:25:08 -0300 |
commit | 53da12e013498c4eca592939bb18a5dbd1d228c9 (patch) | |
tree | d9aa254252a13e629f54dee1c24bd4f12e52ac0d /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | d5ceb62b36545b597e89adb5eb778c3e15431c10 (diff) |
perf ordered_events: Prevent crossing max_alloc_size
Stephane reported a possible issue in the ordered events code, which
could lead to allocating more memory than guarded by max_alloc_size.
He also suggested the fix to properly check that the new size is below
the max_alloc_size limit.
Reported-by: Stephane Eranian <[email protected]>
Suggested-by: Stephane Eranian <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions