aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-08-01 14:02:01 +0300
committerSteven Rostedt (VMware) <[email protected]>2017-08-02 14:19:57 -0400
commit147d88e0b5eb90191bc5c12ca0a3c410b75a13d2 (patch)
tree7eb357572a051669afc7e6c6660011b07898a931 /tools/perf/scripts/python/export-to-postgresql.py
parent4bb0f0e73c8c30917d169c4a0f1ac083690c545b (diff)
tracing: Missing error code in tracer_alloc_buffers()
If ring_buffer_alloc() or one of the next couple function calls fail then we should return -ENOMEM but the current code returns success. Link: http://lkml.kernel.org/r/20170801110201.ajdkct7vwzixahvx@mwanda Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: [email protected] Fixes: b32614c03413 ('tracing/rb: Convert to hotplug state machine') Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions