aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRabin Vincent <[email protected]>2014-11-06 22:26:07 +0100
committerSteven Rostedt <[email protected]>2014-11-10 16:47:31 -0500
commit07906da78810dce5fd35b9449358c9208c693dca (patch)
tree045b776e6ac22d844050cb6a155095732d9f40d4 /tools/perf/scripts/python/export-to-postgresql.py
parente30f53aad2202b5526c40c36d8eeac8bf290bde5 (diff)
tracing: Do not risk busy looping in buffer splice
If the read loop in trace_buffers_splice_read() keeps failing due to memory allocation failures without reading even a single page then this function will keep busy looping. Remove the risk for that by exiting the function if memory allocation failures are seen. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Rabin Vincent <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions