diff options
author | Peter Zijlstra <[email protected]> | 2010-10-19 14:22:50 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-10-22 14:18:26 +0200 |
commit | 6809b6ea73f7291f2e495d40397f1172c9caa77e (patch) | |
tree | 3653223bfd80867056da5e4f57be9512c67d706f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 5553be2620ac901c21a25657bd5b59f73254e6d5 (diff) |
perf, x86: Less disastrous PEBS/BTS buffer allocation failure
Currently PEBS/BTS buffers are allocated when we instantiate the first
event, when this fails everything fails.
This is a problem because esp. BTS tries to allocate a rather large
buffer (64K), which can easily fail.
This patch changes the logic such that when either buffer allocation
fails, we simply don't allow events that would use these facilities,
but continue functioning for all other events.
This logic comes from a much larger patch proposed by Stephane.
Suggested-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Stephane Eranian <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions